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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 196.7 kB / 16.26 MB, free: 6.629 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.469 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.535/2.535, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9644/0.966, allocations: 140.4 MB / 0.9491 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002781/0.9688, allocations: 1.209 MB / 0.9503 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.9707, allocations: 1.354 MB / 0.9516 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.9709, allocations: 7.281 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.719e-05/0.9709, allocations: 11.86 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.9711, allocations: 26.41 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.9719, allocations: 264.2 kB / 0.9519 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.9724, allocations: 434 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.9727, allocations: 116.8 kB / 0.9524 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.9729, allocations: 153.9 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.973, allocations: 147.5 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.371e-05/0.9731, allocations: 45.22 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.9733, allocations: 56.77 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.9733, allocations: 60.11 kB / 0.9529 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.9735, allocations: 166.5 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.974, allocations: 477.8 kB / 0.9535 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.974, allocations: 0 / 0.9535 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.974, allocations: 1.188 kB / 0.9535 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.9741, allocations: 0 / 0.9535 GB, free: 5.887 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.0009152/0.975, allocations: 0.6138 MB / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.975, allocations: 8.719 kB / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.9752, allocations: 35.41 kB / 0.9541 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/0.9759, allocations: 339.2 kB / 0.9545 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.9759, allocations: 21.38 kB / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.976, allocations: 31.81 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.9763, allocations: 169.1 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.9763, allocations: 0 / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.9763, allocations: 9.125 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.9763, allocations: 4.406 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.9766, allocations: 119.5 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.9776, allocations: 0.6885 MB / 0.9555 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.9781, allocations: 166.6 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.9783, allocations: 64.75 kB / 0.9557 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.9783, allocations: 2.812 kB / 0.9557 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.9786, allocations: 136.1 kB / 0.9558 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.9786, allocations: 0 / 0.9558 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004958/0.9791, allocations: 231.8 kB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.9791, allocations: 56.69 kB / 0.9561 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.9794, allocations: 212 kB / 0.9563 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.9794, allocations: 39.11 kB / 0.9563 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.9795, allocations: 150.9 kB / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.9796, allocations: 43.77 kB / 0.9565 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.9797, allocations: 77.11 kB / 0.9566 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.9798, allocations: 330.9 kB / 0.9569 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.98, allocations: 101 kB / 0.957 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.9803, allocations: 158.8 kB / 0.9572 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.9806, allocations: 221.8 kB / 0.9574 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9806, allocations: 0 / 0.9574 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006584/0.9813, allocations: 361 kB / 0.9577 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/0.9814, allocations: 68.8 kB / 0.9578 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.9814, allocations: 1.875 kB / 0.9578 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.9814, allocations: 1.969 kB / 0.9578 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.9815, allocations: 16.78 kB / 0.9578 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.9815, allocations: 7.141 kB / 0.9578 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.9819, allocations: 81.53 kB / 0.9579 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.982, allocations: 11.78 kB / 0.9579 GB, free: 2.32 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.0001788/0.9822, allocations: 159.5 kB / 0.9581 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.9822, allocations: 24.59 kB / 0.9581 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.9823, allocations: 22.91 kB / 0.9581 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9823, allocations: 1.312 kB / 0.9581 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.9823, allocations: 4.984 kB / 0.9581 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.9823, allocations: 3.938 kB / 0.9581 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.9827, allocations: 289.2 kB / 0.9584 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.9827, allocations: 9 kB / 0.9584 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.9827, allocations: 23.36 kB / 0.9584 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.9828, allocations: 0.7812 kB / 0.9584 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.9828, allocations: 5.844 kB / 0.9584 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9828, allocations: 1.094 kB / 0.9584 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9828, allocations: 1.094 kB / 0.9584 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.9831, allocations: 198.5 kB / 0.9586 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.9832, allocations: 106.2 kB / 0.9587 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.9832, allocations: 6.75 kB / 0.9587 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.9833, allocations: 10.86 kB / 0.9587 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.9834, allocations: 37.7 kB / 0.9588 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.9834, allocations: 9.484 kB / 0.9588 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001639/0.9836, allocations: 141.6 kB / 0.9589 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9836, allocations: 0 / 0.9589 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003259/0.9839, allocations: 58.72 kB / 0.959 GB, free: 1.422 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.0002214/0.9842, allocations: 116 kB / 0.9591 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006139/0.9848, allocations: 352.3 kB / 0.9594 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9848, allocations: 1.344 kB / 0.9594 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.985, allocations: 77.25 kB / 0.9595 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.9853, allocations: 36.98 kB / 0.9595 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/0.9862, allocations: 444 kB / 0.9599 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.9865, allocations: 0.7487 MB / 0.9607 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.9866, allocations: 28.22 kB / 0.9607 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.9867, allocations: 25.38 kB / 0.9607 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.9867, allocations: 0 / 0.9607 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.009733/0.9965, allocations: 3.352 MB / 0.964 GB, free: 14.26 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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