Requirements Definition of Safe Software Using the Behavioral Patterns Analysis (PBA) Approach: The Railroad Crossing System | IEEE Conference Publication | IEEE Xplore