Evolution is not randomness. It is running smaller incremental multiple randomlike experiments and only few pass to the next increment where again a lot of variations will be generated and again selected only some few for the next stage ...
So in your example with the house here is how it might be:
Throwing 1 quadrillion times materials will they arrange in a fundation?
Of course. Then throw again and will there be some kind of wall or pillar?
Then you now have foundation and pillars. Throw again a huge number of times, will there be materials that might form a wall?
Please also take into consideration that evolution is not only in a vertical progression (from materials to house) but also running horizontally (like creating multiple types of walls of all shapes before going for a roof).
But more importantly evolution will not create a house as long as there is not need for one.
On the other hand, as we are poaching the limits of science: how do you know that given a close to infinite number of arrangements those materials will not arrange into a house?