Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001851/0.001851, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002302/0.002302, allocations: 222.5 kB / 22.25 MB, free: 5.109 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.322/3.322, allocations: 0.4892 GB / 0.7943 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002161/0.002161, allocations: 64.45 kB / 1.153 GB, free: 9.543 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3542, allocations: 176.1 MB / 1.325 GB, free: 2.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002673/0.3569, allocations: 1.087 MB / 1.326 GB, free: 1.598 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.359, allocations: 1.396 MB / 1.327 GB, free: 192 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.3592, allocations: 4 kB / 1.327 GB, free: 188 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.334e-05/0.3592, allocations: 23.67 kB / 1.328 GB, free: 164 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.3594, allocations: 47.61 kB / 1.328 GB, free: 116 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.3603, allocations: 305.9 kB / 1.328 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005375/0.3608, allocations: 403.8 kB / 1.328 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.361, allocations: 88.77 kB / 1.328 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.3613, allocations: 159.5 kB / 1.328 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.3615, allocations: 135.4 kB / 1.329 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-05/0.3616, allocations: 47.94 kB / 1.329 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3617, allocations: 67.92 kB / 1.329 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.3618, allocations: 51.84 kB / 1.329 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.3619, allocations: 139.5 kB / 1.329 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.3625, allocations: 490.5 kB / 1.329 GB, free: 14.26 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3625, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3625, allocations: 3.938 kB / 1.329 GB, free: 14.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.3625, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.076 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.001037/0.3636, allocations: 0.5394 MB / 1.33 GB, free: 13.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3636, allocations: 12.03 kB / 1.33 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.156e-05/0.3637, allocations: 54.73 kB / 1.33 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3638, allocations: 44.73 kB / 1.33 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.3645, allocations: 253.9 kB / 1.33 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.3645, allocations: 16.38 kB / 1.33 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.3646, allocations: 32.38 kB / 1.33 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.3649, allocations: 174.3 kB / 1.33 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.365, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.365, allocations: 8 kB / 1.33 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.365, allocations: 8 kB / 1.33 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.3652, allocations: 119.9 kB / 1.331 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3663, allocations: 0.5852 MB / 1.331 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.3668, allocations: 154.8 kB / 1.331 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3669, allocations: 57.12 kB / 1.331 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3669, allocations: 7.938 kB / 1.331 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.3673, allocations: 135.3 kB / 1.331 GB, free: 11.92 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.3673, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0004969/0.3678, allocations: 223.3 kB / 1.332 GB, free: 11.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3678, allocations: 55.41 kB / 1.332 GB, free: 11.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.3681, allocations: 222.8 kB / 1.332 GB, free: 11.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.3681, allocations: 33.7 kB / 1.332 GB, free: 11.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3683, allocations: 144.6 kB / 1.332 GB, free: 11.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.3683, allocations: 51.58 kB / 1.332 GB, free: 11.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.3685, allocations: 77.67 kB / 1.332 GB, free: 11.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3687, allocations: 334.8 kB / 1.333 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.3689, allocations: 159.4 kB / 1.333 GB, free: 10.58 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.3693, allocations: 309.4 kB / 1.333 GB, free: 10.23 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.3696, allocations: 209.6 kB / 1.333 GB, free: 9.996 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3696, allocations: 0 / 1.333 GB, free: 9.996 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006527/0.3703, allocations: 436.2 kB / 1.334 GB, free: 9.539 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.3704, allocations: 72.89 kB / 1.334 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3704, allocations: 0 / 1.334 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3704, allocations: 4 kB / 1.334 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.3705, allocations: 23.92 kB / 1.334 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3705, allocations: 3.984 kB / 1.334 GB, free: 9.426 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.3709, allocations: 75.84 kB / 1.334 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.3709, allocations: 19.98 kB / 1.334 GB, free: 9.332 MB / 1.076 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.0001734/0.3711, allocations: 148.1 kB / 1.334 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.3711, allocations: 31.73 kB / 1.334 GB, free: 9.145 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.3712, allocations: 25.8 kB / 1.334 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3712, allocations: 4 kB / 1.334 GB, free: 9.121 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3712, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3712, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.3715, allocations: 248.5 kB / 1.334 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3715, allocations: 0 / 1.334 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.3715, allocations: 12 kB / 1.334 GB, free: 8.824 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.3715, allocations: 7.938 kB / 1.334 GB, free: 8.816 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3716, allocations: 7.984 kB / 1.334 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3716, allocations: 0 / 1.334 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3716, allocations: 4 kB / 1.334 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3719, allocations: 198.3 kB / 1.334 GB, free: 8.594 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.3719, allocations: 27.78 kB / 1.335 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.372, allocations: 11.98 kB / 1.335 GB, free: 8.555 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.3721, allocations: 19.92 kB / 1.335 GB, free: 8.535 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.733e-05/0.3722, allocations: 31.95 kB / 1.335 GB, free: 8.504 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3722, allocations: 7.984 kB / 1.335 GB, free: 8.496 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000137/0.3723, allocations: 148.4 kB / 1.335 GB, free: 8.352 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3723, allocations: 0 / 1.335 GB, free: 8.352 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003057/0.3726, allocations: 59.89 kB / 1.335 GB, free: 8.293 MB / 1.076 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.000754/0.3734, allocations: 0.7471 MB / 1.336 GB, free: 7.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.3739, allocations: 378 kB / 1.336 GB, free: 7.113 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3739, allocations: 0 / 1.336 GB, free: 7.113 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.3741, allocations: 75.86 kB / 1.336 GB, free: 7.039 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3744, allocations: 31.97 kB / 1.336 GB, free: 7.008 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.3778, allocations: 2.722 MB / 1.339 GB, free: 4.117 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.378, allocations: 126.2 kB / 1.339 GB, free: 3.977 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.973e-05/0.3781, allocations: 29.94 kB / 1.339 GB, free: 3.945 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.3782, allocations: 75.41 kB / 1.339 GB, free: 3.871 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.3782, allocations: 0 / 1.339 GB, free: 3.871 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.414, allocations: 6.327 MB / 1.345 GB, free: 13.74 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 5.25 kB / 1.345 GB, free: 13.74 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.11449641175568] Failed to read output from testmodel.py, exit status != 0: 12.071397074963897 12.097890127 11.730471088 Calling exit ...