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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.01006/0.01006, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.002318/0.002318, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.645/1.645, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.815/2.815, allocations: 461.9 MB / 0.7347 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255/1.257, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003214/1.26, allocations: 1.146 MB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002463/1.262, allocations: 1.381 MB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/1.263, allocations: 4 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.78e-05/1.263, allocations: 23.67 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/1.263, allocations: 39.59 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/1.264, allocations: 297.8 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007247/1.265, allocations: 427.8 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/1.265, allocations: 112.2 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/1.266, allocations: 167.5 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/1.266, allocations: 147.4 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/1.266, allocations: 48 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/1.266, allocations: 59.98 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/1.266, allocations: 63.75 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/1.267, allocations: 159.3 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008503/1.267, allocations: 490.3 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.267, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.707e-06/1.268, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.219e-05/1.268, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 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.001531/1.269, allocations: 0.6128 MB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.269, allocations: 8.031 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/1.269, allocations: 28.66 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008746/1.27, allocations: 327.6 kB / 1.213 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/1.27, allocations: 24.31 kB / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/1.27, allocations: 40.3 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/1.271, allocations: 169.9 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.271, allocations: 0 / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/1.271, allocations: 11.98 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/1.271, allocations: 7.984 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/1.271, allocations: 116 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/1.272, allocations: 0.6873 MB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/1.273, allocations: 162.8 kB / 1.214 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/1.273, allocations: 71.64 kB / 1.214 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/1.273, allocations: 0 / 1.214 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/1.273, allocations: 144.6 kB / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.655e-06/1.273, allocations: 3.938 kB / 1.214 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0005476/1.274, allocations: 219.7 kB / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/1.274, allocations: 55.41 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/1.274, allocations: 208.2 kB / 1.215 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/1.274, allocations: 37.69 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.274, allocations: 152.6 kB / 1.215 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/1.275, allocations: 43.45 kB / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/1.275, allocations: 77.67 kB / 1.215 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.275, allocations: 334.8 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/1.275, allocations: 95.95 kB / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/1.275, allocations: 168 kB / 1.216 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/1.276, allocations: 219.7 kB / 1.216 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.276, allocations: 0 / 1.216 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006804/1.276, allocations: 360.6 kB / 1.216 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/1.277, allocations: 71.33 kB / 1.216 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.277, allocations: 0 / 1.216 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/1.277, allocations: 4 kB / 1.216 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/1.277, allocations: 12 kB / 1.216 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/1.277, allocations: 7.984 kB / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/1.277, allocations: 79.86 kB / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/1.277, allocations: 15.98 kB / 1.217 GB, free: 4.25 MB / 0.9356 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.0002378/1.277, allocations: 147.5 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/1.277, allocations: 23.75 kB / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/1.278, allocations: 25.86 kB / 1.217 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.278, allocations: 0 / 1.217 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.278, allocations: 4 kB / 1.217 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/1.278, allocations: 3.938 kB / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/1.278, allocations: 301.3 kB / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.278, allocations: 4.047 kB / 1.217 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/1.278, allocations: 23.91 kB / 1.217 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.278, allocations: 3.938 kB / 1.217 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/1.278, allocations: 3.938 kB / 1.217 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.278, allocations: 0 / 1.217 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.278, allocations: 4 kB / 1.217 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/1.279, allocations: 196.8 kB / 1.217 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/1.279, allocations: 100.8 kB / 1.217 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/1.279, allocations: 7.938 kB / 1.217 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/1.279, allocations: 19.92 kB / 1.217 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.279, allocations: 35.95 kB / 1.217 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/1.279, allocations: 7.984 kB / 1.217 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001395/1.279, allocations: 151.1 kB / 1.218 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/1.279, allocations: 0 / 1.218 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003206/1.279, allocations: 59.91 kB / 1.218 GB, free: 3.059 MB / 0.9356 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.0002392/1.28, allocations: 119.2 kB / 1.218 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005775/1.28, allocations: 334.6 kB / 1.218 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.28, allocations: 0 / 1.218 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/1.28, allocations: 82.14 kB / 1.218 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/1.281, allocations: 40.23 kB / 1.218 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/1.282, allocations: 377.9 kB / 1.219 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/1.282, allocations: 0.7441 MB / 1.219 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001044/1.282, allocations: 25.94 kB / 1.219 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/1.282, allocations: 23.44 kB / 1.219 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/1.282, allocations: 0 / 1.219 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.009485/1.292, allocations: 3.609 MB / 1.223 GB, free: 13.66 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches