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.001035/0.001035, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.0114/0.0114, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.501/2.501, allocations: 390.9 MB / 0.6663 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.000409, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9447/0.9451, allocations: 142.4 MB / 0.9551 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001483/0.9466, allocations: 0.8477 MB / 0.9559 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.9487, allocations: 1.376 MB / 0.9572 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.9489, allocations: 2.188 kB / 0.9572 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.116e-05/0.949, allocations: 11.86 kB / 0.9573 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.9492, allocations: 27.59 kB / 0.9573 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.9501, allocations: 277 kB / 0.9575 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.9506, allocations: 365.5 kB / 0.9579 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.9509, allocations: 108.6 kB / 0.958 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.9511, allocations: 112.4 kB / 0.9581 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.9513, allocations: 119.8 kB / 0.9582 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.533e-05/0.9514, allocations: 13.03 kB / 0.9582 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.9516, allocations: 28.3 kB / 0.9583 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.9516, allocations: 32.77 kB / 0.9583 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.9518, allocations: 152.4 kB / 0.9584 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.9522, allocations: 436.9 kB / 0.9589 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9522, allocations: 0 / 0.9589 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.005e-06/0.9523, allocations: 5.422 kB / 0.9589 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.9523, allocations: 0 / 0.9589 GB, free: 4.859 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.0009324/0.9532, allocations: 0.563 MB / 0.9594 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.9533, allocations: 9.438 kB / 0.9594 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.9534, allocations: 30.91 kB / 0.9594 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.9541, allocations: 335.4 kB / 0.9598 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.9542, allocations: 17.84 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.9543, allocations: 35.38 kB / 0.9598 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.9546, allocations: 172.7 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.9546, allocations: 0 / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.9546, allocations: 6.75 kB / 0.96 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.9546, allocations: 4.125 kB / 0.96 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.9549, allocations: 115.1 kB / 0.9601 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009406/0.9558, allocations: 0.7011 MB / 0.9608 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.9562, allocations: 172.2 kB / 0.9609 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.9564, allocations: 70.17 kB / 0.961 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.9564, allocations: 1.312 kB / 0.961 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.9566, allocations: 137.9 kB / 0.9611 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/0.9567, allocations: 4.688 kB / 0.9612 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004677/0.9571, allocations: 222.3 kB / 0.9614 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.9572, allocations: 62.41 kB / 0.9614 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.9574, allocations: 210.9 kB / 0.9616 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.9574, allocations: 35.95 kB / 0.9617 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.9575, allocations: 147 kB / 0.9618 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.9576, allocations: 50.69 kB / 0.9618 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.9577, allocations: 45.31 kB / 0.9619 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.9577, allocations: 332.7 kB / 0.9622 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.9579, allocations: 96.08 kB / 0.9623 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.9582, allocations: 162.7 kB / 0.9625 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.9584, allocations: 223 kB / 0.9627 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9584, allocations: 0 / 0.9627 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005744/0.959, allocations: 348 kB / 0.963 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.9591, allocations: 69.14 kB / 0.9631 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9591, allocations: 0.7812 kB / 0.9631 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9591, allocations: 1.969 kB / 0.9631 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.9592, allocations: 21.23 kB / 0.9631 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.9592, allocations: 1.812 kB / 0.9631 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.9597, allocations: 111.8 kB / 0.9632 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.9597, allocations: 20.14 kB / 0.9632 GB, free: 1.34 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.0001375/0.9598, allocations: 147.2 kB / 0.9634 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.9599, allocations: 20.25 kB / 0.9634 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.9599, allocations: 30.92 kB / 0.9634 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9599, allocations: 1.5 kB / 0.9634 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.96, allocations: 1.469 kB / 0.9634 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.96, allocations: 0 / 0.9634 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.9602, allocations: 301.2 kB / 0.9637 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9602, allocations: 3.938 kB / 0.9637 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/0.9603, allocations: 15.94 kB / 0.9637 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.9603, allocations: 1.344 kB / 0.9637 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.9603, allocations: 9.484 kB / 0.9637 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9603, allocations: 1.344 kB / 0.9637 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9603, allocations: 0 / 0.9637 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.9606, allocations: 198.5 kB / 0.9639 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.9607, allocations: 105.8 kB / 0.964 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.9607, allocations: 6.406 kB / 0.964 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.9608, allocations: 18.67 kB / 0.964 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.9609, allocations: 33.92 kB / 0.9641 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.9609, allocations: 6.219 kB / 0.9641 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001033/0.961, allocations: 144.6 kB / 0.9642 GB, free: 476 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.961, allocations: 1.469 kB / 0.9642 GB, free: 476 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002987/0.9613, allocations: 62.67 kB / 0.9643 GB, free: 460 kB / 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.0001722/0.9615, allocations: 119.9 kB / 0.9644 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.962, allocations: 337.6 kB / 0.9647 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.962, allocations: 4.062 kB / 0.9647 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.9621, allocations: 71.55 kB / 0.9648 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.9624, allocations: 43.56 kB / 0.9648 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.9632, allocations: 455.1 kB / 0.9653 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.9636, allocations: 0.7416 MB / 0.966 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.74e-05/0.9637, allocations: 28.41 kB / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.9637, allocations: 23.72 kB / 0.966 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.9637, allocations: 5 kB / 0.966 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.007173/0.9709, allocations: 3.181 MB / 0.9691 GB, free: 13.38 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