Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001839/0.001839, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002595/0.002595, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",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.002133/0.002133, allocations: 69.47 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3535, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002606/0.3561, allocations: 1.089 MB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3581, allocations: 1.389 MB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.3582, allocations: 4 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.332e-05/0.3583, allocations: 27.67 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.3584, allocations: 47.59 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.3592, allocations: 294.2 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.3597, allocations: 407.8 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.3599, allocations: 84.31 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.36, allocations: 163.5 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.3603, allocations: 143.3 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.3604, allocations: 52 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3605, allocations: 55.94 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3605, allocations: 63.81 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.3607, allocations: 139.4 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.3613, allocations: 492 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3613, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3613, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3613, allocations: 3.938 kB / 1.287 GB, free: 8.031 MB / 0.9825 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.0009475/0.3622, allocations: 0.5356 MB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3623, allocations: 12.03 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/0.3623, allocations: 54.73 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.3624, allocations: 36.78 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.3631, allocations: 262.1 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.3631, allocations: 24.33 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.3632, allocations: 28.38 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.3635, allocations: 169.7 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3635, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.3636, allocations: 16 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3636, allocations: 7.938 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.3638, allocations: 115.9 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3648, allocations: 0.5774 MB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.3652, allocations: 146.8 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3654, allocations: 68.81 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3654, allocations: 8.281 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.3657, allocations: 125 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.492e-06/0.3657, allocations: 0 / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.000463/0.3662, allocations: 227.5 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3662, allocations: 51.41 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3664, allocations: 222.8 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.3665, allocations: 41.7 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3666, allocations: 148.6 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.3667, allocations: 47.58 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3668, allocations: 85.61 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.367, allocations: 334.8 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.3672, allocations: 159.4 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.3676, allocations: 308.5 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.3679, allocations: 214.5 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3679, allocations: 0 / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007143/0.3686, allocations: 427.6 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.3687, allocations: 71.33 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3687, allocations: 4 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3687, allocations: 0 / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.3688, allocations: 27.86 kB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3688, allocations: 0 / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.3692, allocations: 83.88 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.3693, allocations: 19.98 kB / 1.291 GB, free: 3.113 MB / 0.9825 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.0001729/0.3694, allocations: 147.5 kB / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.3695, allocations: 23.8 kB / 1.291 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/0.3695, allocations: 25.8 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3695, allocations: 4 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3695, allocations: 0 / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3695, allocations: 4 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.3698, allocations: 240.6 kB / 1.292 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3698, allocations: 3.984 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-05/0.3699, allocations: 15.94 kB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3699, allocations: 3.938 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3699, allocations: 8 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.3699, allocations: 7.984 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3699, allocations: 0 / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.3702, allocations: 189 kB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.3703, allocations: 31.72 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.3703, allocations: 15.98 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.3704, allocations: 11.98 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.3705, allocations: 27.95 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.3705, allocations: 15.98 kB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001398/0.3707, allocations: 144.4 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3707, allocations: 3.938 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002851/0.3709, allocations: 59.89 kB / 1.292 GB, free: 2.078 MB / 0.9825 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.0007321/0.3717, allocations: 0.7511 MB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005764/0.3722, allocations: 370 kB / 1.293 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3722, allocations: 0 / 1.293 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3724, allocations: 74.14 kB / 1.293 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.3727, allocations: 43.91 kB / 1.293 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.3762, allocations: 2.702 MB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3763, allocations: 130.2 kB / 1.296 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.95e-05/0.3764, allocations: 25.94 kB / 1.296 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3766, allocations: 79.41 kB / 1.296 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3766, allocations: 0 / 1.296 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/0.4136, allocations: 6.335 MB / 1.303 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 7.922 kB / 1.303 GB, free: 7.523 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.csv --start-time 0 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.69173987209797] Failed to read output from testmodel.py, exit status != 0: 12.599702309817076 12.097516046 11.730975023 Calling exit ...