Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 215.4 kB / 23.03 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.3/3.3, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 65.22 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3449, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002743/0.3476, allocations: 1.09 MB / 1.346 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.3498, allocations: 1.4 MB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.35, allocations: 4 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.743e-05/0.3501, allocations: 23.67 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.3503, allocations: 43.59 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.3513, allocations: 299.4 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.3519, allocations: 411.8 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.3522, allocations: 85.67 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.3525, allocations: 167.5 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.3528, allocations: 151.4 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.3529, allocations: 48 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.353, allocations: 59.98 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.3531, allocations: 59.77 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.3533, allocations: 131.5 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.354, allocations: 494.5 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.354, allocations: 0 / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.452e-06/0.354, allocations: 4 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.354, allocations: 0 / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001127/0.3551, allocations: 0.5433 MB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3551, allocations: 12.03 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.163e-05/0.3552, allocations: 8.125 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.735e-05/0.3552, allocations: 54.72 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.869e-05/0.3553, allocations: 36.75 kB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.356, allocations: 265.9 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.3561, allocations: 24.36 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.3561, allocations: 28.38 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.3565, allocations: 170.2 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3565, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.3565, allocations: 11.98 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3565, allocations: 7.938 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.3567, allocations: 115.9 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3578, allocations: 0.5813 MB / 1.351 GB, free: 9.492 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.3582, allocations: 150.9 kB / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3583, allocations: 61.06 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3584, allocations: 3.938 kB / 1.352 GB, free: 9.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.3587, allocations: 135.3 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 3.607e-06/0.3587, allocations: 4 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.000456/0.3591, allocations: 219 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3592, allocations: 63.33 kB / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.3594, allocations: 218.8 kB / 1.352 GB, free: 8.605 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.3595, allocations: 33.7 kB / 1.352 GB, free: 8.566 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3596, allocations: 148.6 kB / 1.352 GB, free: 8.418 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.3596, allocations: 47.62 kB / 1.352 GB, free: 8.371 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.3598, allocations: 77.67 kB / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.36, allocations: 330.8 kB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.3602, allocations: 159.4 kB / 1.353 GB, free: 7.789 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.3606, allocations: 307.2 kB / 1.353 GB, free: 7.434 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.3609, allocations: 215.8 kB / 1.353 GB, free: 7.195 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3609, allocations: 4 kB / 1.353 GB, free: 7.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006698/0.3615, allocations: 436 kB / 1.354 GB, free: 6.734 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.3616, allocations: 63.39 kB / 1.354 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3616, allocations: 0 / 1.354 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3616, allocations: 4.125 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.3617, allocations: 27.92 kB / 1.354 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3617, allocations: 4 kB / 1.354 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.3621, allocations: 75.7 kB / 1.354 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.3621, allocations: 19.98 kB / 1.354 GB, free: 6.531 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.3623, allocations: 151.5 kB / 1.354 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.3624, allocations: 27.84 kB / 1.354 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.3624, allocations: 25.8 kB / 1.354 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3624, allocations: 0 / 1.354 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3624, allocations: 0 / 1.354 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3624, allocations: 0 / 1.354 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.3627, allocations: 248.5 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3627, allocations: 0 / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.3628, allocations: 19.94 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3628, allocations: 4 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3628, allocations: 3.984 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3628, allocations: 4 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3628, allocations: 0 / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.3631, allocations: 199.8 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.3632, allocations: 27.86 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3632, allocations: 11.94 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.3633, allocations: 11.98 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/0.3634, allocations: 35.94 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3634, allocations: 4 kB / 1.355 GB, free: 5.707 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001294/0.3635, allocations: 148.6 kB / 1.355 GB, free: 5.562 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3635, allocations: 0 / 1.355 GB, free: 5.562 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002974/0.3638, allocations: 63.89 kB / 1.355 GB, free: 5.5 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006741/0.3645, allocations: 0.7449 MB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000563/0.3651, allocations: 376.7 kB / 1.356 GB, free: 4.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3651, allocations: 0 / 1.356 GB, free: 4.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.3652, allocations: 72.17 kB / 1.356 GB, free: 4.25 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3655, allocations: 39.97 kB / 1.356 GB, free: 4.211 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.3689, allocations: 2.715 MB / 1.359 GB, free: 1.328 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.369, allocations: 134.2 kB / 1.359 GB, free: 1.176 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.326e-05/0.3691, allocations: 25.94 kB / 1.359 GB, free: 1.148 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.3693, allocations: 79.41 kB / 1.359 GB, free: 1.07 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.3693, allocations: 0 / 1.359 GB, free: 1.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.3968, allocations: 5.92 MB / 1.365 GB, free: 11.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.13, allocations: 18.62 kB / 1.365 GB, free: 11.36 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.917649551993236] Failed to read output from testmodel.py, exit status != 0: 12.309756773989648 12.327271112 11.970048356 Calling exit ...