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.002036/0.002036, allocations: 102.5 kB / 16.45 MB, free: 6.504 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.002368/0.002368, allocations: 212.9 kB / 19.43 MB, free: 3.652 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.417/3.417, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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="me",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="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.002049/0.002049, allocations: 64.67 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3444, allocations: 180.2 MB / 1.348 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002713/0.3471, allocations: 1.15 MB / 1.349 GB, free: 8.812 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3491, allocations: 1.416 MB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3492, allocations: 4 kB / 1.35 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.107e-05/0.3493, allocations: 27.61 kB / 1.35 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.3494, allocations: 47.59 kB / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007347/0.3502, allocations: 295.4 kB / 1.351 GB, free: 7.023 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.3506, allocations: 419.8 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.3508, allocations: 88.22 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.351, allocations: 155.5 kB / 1.351 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.3512, allocations: 155.4 kB / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.3513, allocations: 44 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3514, allocations: 55.98 kB / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.3515, allocations: 67.7 kB / 1.352 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.3516, allocations: 155.4 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.3522, allocations: 490.5 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3522, allocations: 7.922 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3522, allocations: 0 / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3522, allocations: 4 kB / 1.352 GB, free: 5.406 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.0009651/0.3531, allocations: 0.6124 MB / 1.353 GB, free: 4.734 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3532, allocations: 11.98 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.3532, allocations: 58.67 kB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.3533, allocations: 36.73 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.354, allocations: 328 kB / 1.353 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3541, allocations: 24.38 kB / 1.353 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.3541, allocations: 32.36 kB / 1.353 GB, free: 4.207 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.3545, allocations: 169.7 kB / 1.353 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3545, allocations: 3.938 kB / 1.353 GB, free: 4.031 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.3545, allocations: 8 kB / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3545, allocations: 4 kB / 1.353 GB, free: 4.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.3547, allocations: 115.9 kB / 1.354 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3558, allocations: 0.6875 MB / 1.354 GB, free: 3.164 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.3562, allocations: 150.8 kB / 1.354 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.3564, allocations: 60.84 kB / 1.354 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3564, allocations: 3.984 kB / 1.354 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004132/0.3569, allocations: 139.2 kB / 1.355 GB, free: 2.793 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.3569, allocations: 0 / 1.355 GB, free: 2.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0005408/0.3574, allocations: 215.4 kB / 1.355 GB, free: 2.578 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.3575, allocations: 63.41 kB / 1.355 GB, free: 2.504 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3577, allocations: 218.6 kB / 1.355 GB, free: 2.281 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.3578, allocations: 41.7 kB / 1.355 GB, free: 2.234 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.358, allocations: 152.7 kB / 1.355 GB, free: 2.082 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.358, allocations: 47.67 kB / 1.355 GB, free: 2.035 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.3582, allocations: 77.67 kB / 1.355 GB, free: 1.953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3584, allocations: 330.8 kB / 1.356 GB, free: 1.621 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.3586, allocations: 99.89 kB / 1.356 GB, free: 1.523 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.3589, allocations: 163.5 kB / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.3592, allocations: 216.4 kB / 1.356 GB, free: 1.102 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3592, allocations: 0 / 1.356 GB, free: 1.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006749/0.3599, allocations: 360.7 kB / 1.356 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.36, allocations: 71.33 kB / 1.357 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.36, allocations: 4 kB / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.36, allocations: 0 / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.3601, allocations: 23.88 kB / 1.357 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3601, allocations: 3.984 kB / 1.357 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.3606, allocations: 83.89 kB / 1.357 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.3606, allocations: 15.98 kB / 1.357 GB, free: 0.5195 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.0002008/0.3608, allocations: 155.6 kB / 1.357 GB, free: 368 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.3608, allocations: 27.78 kB / 1.357 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.072e-05/0.3609, allocations: 25.86 kB / 1.357 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3609, allocations: 4 kB / 1.357 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3609, allocations: 0 / 1.357 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3609, allocations: 0 / 1.357 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.3613, allocations: 289.5 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3613, allocations: 0 / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/0.3613, allocations: 19.98 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3613, allocations: 3.938 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3614, allocations: 4 kB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3614, allocations: 0 / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3614, allocations: 4 kB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.3617, allocations: 201.9 kB / 1.357 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-05/0.3618, allocations: 104.8 kB / 1.357 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.3618, allocations: 8 kB / 1.357 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.3619, allocations: 11.98 kB / 1.357 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.362, allocations: 31.95 kB / 1.357 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.362, allocations: 7.984 kB / 1.357 GB, free: 15.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001511/0.3622, allocations: 152.4 kB / 1.358 GB, free: 15.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3622, allocations: 0 / 1.358 GB, free: 15.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003045/0.3625, allocations: 63.89 kB / 1.358 GB, free: 15.33 MB / 1.061 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.0007219/0.3632, allocations: 0.7466 MB / 1.358 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005277/0.3637, allocations: 306.7 kB / 1.359 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3637, allocations: 3.938 kB / 1.359 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3639, allocations: 69.25 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3642, allocations: 48.25 kB / 1.359 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.3677, allocations: 2.445 MB / 1.361 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.3682, allocations: 0.744 MB / 1.362 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.696e-05/0.3682, allocations: 21.95 kB / 1.362 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.3684, allocations: 79.34 kB / 1.362 GB, free: 10.69 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3684, allocations: 0 / 1.362 GB, free: 10.69 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.3997, allocations: 5.462 MB / 1.367 GB, free: 5.398 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/8.859, allocations: 8 kB / 1.367 GB, free: 5.391 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.csv --start-time 0 --stop-time 3 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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: 15.834754441166297] Failed to read output from testmodel.py, exit status != 0: 8.93041345803067 8.950774567 8.594808873 Calling exit ...