Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_9_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_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.089/2.089, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 67.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4575, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001768/0.4593, allocations: 1.149 MB / 0.9509 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.4604, allocations: 1.367 MB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.4605, allocations: 7.531 kB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.4606, allocations: 23.67 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.817e-05/0.4607, allocations: 38 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.4612, allocations: 287.1 kB / 0.9525 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.4615, allocations: 428.9 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.4616, allocations: 117.8 kB / 0.9531 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.4617, allocations: 161.9 kB / 0.9532 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.4619, allocations: 142.9 kB / 0.9533 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.4619, allocations: 46.28 kB / 0.9534 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.462, allocations: 54.7 kB / 0.9534 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.4621, allocations: 65.11 kB / 0.9535 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.4622, allocations: 162.1 kB / 0.9537 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.4624, allocations: 482.4 kB / 0.9541 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4625, allocations: 0 / 0.9541 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4625, allocations: 0 / 0.9541 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4625, allocations: 1.094 kB / 0.9541 GB, free: 5.773 MB / 0.7169 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.0005806/0.4631, allocations: 0.606 MB / 0.9547 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.4631, allocations: 8.75 kB / 0.9547 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.4631, allocations: 56.92 kB / 0.9548 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.4632, allocations: 42.53 kB / 0.9548 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.4637, allocations: 329.2 kB / 0.9551 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.4638, allocations: 20.5 kB / 0.9552 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.4638, allocations: 31.34 kB / 0.9552 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.464, allocations: 169.1 kB / 0.9553 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.464, allocations: 0 / 0.9553 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4641, allocations: 9.281 kB / 0.9554 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4641, allocations: 9.312 kB / 0.9554 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4642, allocations: 107 kB / 0.9555 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.4649, allocations: 0.6988 MB / 0.9561 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.4652, allocations: 162.8 kB / 0.9563 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.904e-05/0.4653, allocations: 69.77 kB / 0.9564 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.4653, allocations: 1.406 kB / 0.9564 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.4655, allocations: 141.1 kB / 0.9565 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.4655, allocations: 0 / 0.9565 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0003356/0.4659, allocations: 219.9 kB / 0.9567 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.4659, allocations: 57.28 kB / 0.9568 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.466, allocations: 218.4 kB / 0.957 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.4661, allocations: 41.36 kB / 0.957 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.4661, allocations: 147.1 kB / 0.9572 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4662, allocations: 42.12 kB / 0.9572 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.4663, allocations: 81.73 kB / 0.9573 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.4663, allocations: 331.6 kB / 0.9576 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.4665, allocations: 100.5 kB / 0.9577 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.4667, allocations: 158.9 kB / 0.9578 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.4669, allocations: 220.9 kB / 0.958 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4669, allocations: 1.375 kB / 0.958 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004248/0.4673, allocations: 360.7 kB / 0.9584 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.4673, allocations: 62.5 kB / 0.9585 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4674, allocations: 1.469 kB / 0.9585 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.4674, allocations: 1.562 kB / 0.9585 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.4674, allocations: 21.11 kB / 0.9585 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4674, allocations: 5.906 kB / 0.9585 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.4678, allocations: 75.45 kB / 0.9586 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.4678, allocations: 14.77 kB / 0.9586 GB, free: 2.164 MB / 0.7169 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.000103/0.4679, allocations: 156.3 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.468, allocations: 24.28 kB / 0.9587 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.468, allocations: 30.14 kB / 0.9588 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.468, allocations: 2.188 kB / 0.9588 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.468, allocations: 0 / 0.9588 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4681, allocations: 1.219 kB / 0.9588 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.4682, allocations: 297.1 kB / 0.9591 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4682, allocations: 0 / 0.9591 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.4683, allocations: 15.88 kB / 0.9591 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4683, allocations: 5.172 kB / 0.9591 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4683, allocations: 14.12 kB / 0.9591 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4683, allocations: 5.125 kB / 0.9591 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4683, allocations: 0 / 0.9591 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.4685, allocations: 202 kB / 0.9593 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.4686, allocations: 98.31 kB / 0.9594 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4686, allocations: 7 kB / 0.9594 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.4687, allocations: 19.14 kB / 0.9594 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.4687, allocations: 36.89 kB / 0.9594 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4688, allocations: 5.375 kB / 0.9594 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.765e-05/0.4688, allocations: 146.7 kB / 0.9596 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4688, allocations: 0 / 0.9596 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002437/0.4691, allocations: 55.38 kB / 0.9596 GB, free: 1.262 MB / 0.7169 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.000358/0.4695, allocations: 0.7676 MB / 0.9604 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.4698, allocations: 339 kB / 0.9607 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.4699, allocations: 0 / 0.9607 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.47, allocations: 81.5 kB / 0.9608 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.4702, allocations: 45.38 kB / 0.9608 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.4726, allocations: 2.43 MB / 0.9632 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.4728, allocations: 0.7419 MB / 0.9639 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.085e-05/0.4729, allocations: 28 kB / 0.964 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.473, allocations: 77.91 kB / 0.964 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.473, allocations: 0 / 0.964 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.196/3.669, allocations: 5.381 MB / 0.9693 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.21/12.88, allocations: 18.08 kB / 0.9693 GB, free: 10.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches