problem with baking the shadows. To get black spots

You really should just do a flat projection mapping of each wall and then adjust the UVs so that the perpendicular surfaces (like the sides of the wooden parts) have some space on the UV as well.