Hardware-in-the-Loop laboratory testing of developed hydrocarbon drilling facility automation systems