One of the first surprises when living in a Swiss apartment is to realize that the noises are not all the same at all times. There is a system, sometimes implicit and sometimes written in the lease, that defines when noise can be made and when it cannot.
The general rule in most buildings: silence from 10 pm, and do not resume it before 7 am on weekdays. Sundays are different. In many buildings, washing machine, vacuum cleaner or any tools are directly forbidden all day. It is not federal law: it is the regulation of the building, called "règlement de l 'immeuble" in French or "Hausordnung" in German. And it varies from block to block. Some allow washing until 9pm, others until 8pm. Some add a mandatory break at noon between 12pm and 1pm.
If you signed the contract without reading it all, you'll probably find out when a note appears under the door. In Switzerland those notes come quickly and are perfectly formal. Forty minutes of after-hours vacuuming may result in a written complaint. Not always, but it happens more often than you might think.
What most surprises those who come from Spain is not the rule itself, which has its logic, but the speed of response and the level of formality. In Spain this type of thing is solved with a conversation in the hallway or it is not solved at all. Here there are those who are very clear that the regulation exists for everyone, and that complying with it is part of the unwritten contract to live in community. It's not hostility. It's just that the standard of living starts from a different point.