A methodology for an aggregate analysis of evacuation of buildings