Safety of users in road evacuation: pedestrian outflow models in a building