The big question here is if black powder was the only thing being stored in the building? Did the building have electric lights installed in the storage area.
Keep in mind that heat, and only heat, will ignite black powder.
The only documented incidents of black powder igniting without any "outside" ignition source involved the storage of black powder in a damp or wet state. There is a U.S. Bureau Of Mines paper on this dating back to WWII.
In some blasting work they make the powder damp and then tamp it in the blast hole. This reduces any shattering effect on the rock around the blast hole.
The paper went into the damp powder undergoing chemical reaction that evilves heat. With large amounts stored in a shed the heat is not dissapated. When the temperature of the powder gets up around the boiling point of water the sulfur begins to turn to a gas and becomes highly reactive in the powder. These evolves even more heat. Eventually the ignition temperature is reached and then the mass ignites.
In this scenario the entire mass of powder is being heated slowly so almost the entire mass reaches the ignition temperature at the same time. The resulting explosion mimics detonation of the mass. Remember than BP is not a true detonating explosive because it is a compounded explosive incapable of reaching detonation velocities within the mass of powder. But under the circumstances described it will mimic true detonation in explosive effect.
This is simply impossible when one is dealing with a few cans of powder. it can only happen in a large mass.
If you try to reproduce this with just a few cans the rising gas pressure within the can simply blows the caps off the cans or splits the seam in the side of the can. Then once open to the atmosphere any sulfur vapors produced simply are carried away in the air.
Generally, When stored black powder goes up it is because there was a malfunction in any electrical wiring in the building or some very sensitive explosive or detonators were stored with it.
With our cans or plastic bottles you are supposed to store them outside of the house. Not inside the house. Stored in an ATF approved magazine away from an occupied dwelling.
Storage temperature should not exceed 150 F. If you heat black powder slowly, once the temperature of the powder reaches 180 F a small portion of the sulfur begins to go from the solid state to the gaseous state without going through the liquid phase. In the solid state the sulfur is relative inactive. But in the gaseous state the sulfur can become highly reactive and "attack" the potassium nitrate. In doing so this creates/evolves heat. If the heat is not removed then this chemical change process becomes a self-accelerating decomposition reaction which evolves even more heat.
If the powder is stored wet it may not need an outside heat source to begin this reaction. And by wet I mean several percent of moisture in the powder, not the fractions of a percent or around a percent as might be commonly seen in black powder.
E. Ogre