Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 91.84 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.008288/0.008288, allocations: 169.9 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.631/1.631, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.558/2.558, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.00046, allocations: 11.94 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9508/0.9512, allocations: 142.4 MB / 0.9551 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.00261/0.9539, allocations: 1.779 MB / 0.9568 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.9557, allocations: 1.125 MB / 0.9579 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.9559, allocations: 2.875 kB / 0.9579 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.9563, allocations: 75.73 kB / 0.958 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.9566, allocations: 82.27 kB / 0.9581 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.957, allocations: 163.6 kB / 0.9582 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.9573, allocations: 300.2 kB / 0.9585 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.9575, allocations: 112.9 kB / 0.9586 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.9577, allocations: 99.38 kB / 0.9587 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.9578, allocations: 108.7 kB / 0.9588 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.9579, allocations: 7.156 kB / 0.9588 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.958, allocations: 53.33 kB / 0.9589 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.9581, allocations: 69.7 kB / 0.959 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.9582, allocations: 135 kB / 0.9591 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.9586, allocations: 420.2 kB / 0.9595 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9586, allocations: 1.375 kB / 0.9595 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.9586, allocations: 0 / 0.9595 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.9586, allocations: 0 / 0.9595 GB, free: 4.562 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009194/0.9596, allocations: 0.5686 MB / 0.96 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.9596, allocations: 13.34 kB / 0.96 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.9597, allocations: 37.09 kB / 0.9601 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.9601, allocations: 348.9 kB / 0.9604 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.9602, allocations: 12.25 kB / 0.9604 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.9602, allocations: 21.75 kB / 0.9604 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.9606, allocations: 176.7 kB / 0.9606 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.9606, allocations: 0 / 0.9606 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.9606, allocations: 17.36 kB / 0.9606 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.9606, allocations: 9.438 kB / 0.9606 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.9609, allocations: 124.3 kB / 0.9608 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.9619, allocations: 0.6666 MB / 0.9614 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.9623, allocations: 189.9 kB / 0.9616 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.9625, allocations: 80.48 kB / 0.9617 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.9626, allocations: 5.672 kB / 0.9617 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.9628, allocations: 134.2 kB / 0.9618 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.9628, allocations: 0 / 0.9618 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005145/0.9633, allocations: 234.2 kB / 0.962 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.9634, allocations: 57.66 kB / 0.9621 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.9638, allocations: 357.5 kB / 0.9624 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.9638, allocations: 37.06 kB / 0.9625 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.9639, allocations: 168.4 kB / 0.9626 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.964, allocations: 51.31 kB / 0.9627 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.964, allocations: 42.97 kB / 0.9627 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.9641, allocations: 338.9 kB / 0.963 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.9643, allocations: 86.31 kB / 0.9631 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.9645, allocations: 139.2 kB / 0.9632 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.9647, allocations: 149.6 kB / 0.9634 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9648, allocations: 1 kB / 0.9634 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004514/0.9652, allocations: 271.7 kB / 0.9637 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.9652, allocations: 4.656 kB / 0.9637 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9652, allocations: 0 / 0.9637 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.9653, allocations: 6.594 kB / 0.9637 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.9654, allocations: 40.31 kB / 0.9637 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9654, allocations: 0.8125 kB / 0.9637 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.9656, allocations: 42.2 kB / 0.9637 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.9657, allocations: 14.45 kB / 0.9638 GB, free: 1.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001496/0.9658, allocations: 173.9 kB / 0.9639 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.9659, allocations: 23.72 kB / 0.9639 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.9659, allocations: 34.91 kB / 0.964 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.9659, allocations: 6.281 kB / 0.964 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.966, allocations: 0 / 0.964 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.966, allocations: 1.562 kB / 0.964 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.9662, allocations: 325.3 kB / 0.9643 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9662, allocations: 0 / 0.9643 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.9663, allocations: 17.86 kB / 0.9643 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9663, allocations: 0 / 0.9643 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.9664, allocations: 6.25 kB / 0.9643 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9664, allocations: 5.219 kB / 0.9643 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9664, allocations: 0 / 0.9643 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.9667, allocations: 215.6 kB / 0.9645 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.9668, allocations: 113.2 kB / 0.9646 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.9668, allocations: 11.97 kB / 0.9646 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.9669, allocations: 29.05 kB / 0.9647 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.967, allocations: 30.48 kB / 0.9647 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.9671, allocations: 12.58 kB / 0.9647 GB, free: 448 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00021/0.9673, allocations: 225.6 kB / 0.9649 GB, free: 304 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9673, allocations: 0 / 0.9649 GB, free: 304 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000308/0.9676, allocations: 62.84 kB / 0.965 GB, free: 284 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: 14 ($whenCondition1,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,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.001051/0.9687, allocations: 417.7 kB / 0.9654 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.9691, allocations: 195 kB / 0.9656 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9691, allocations: 0 / 0.9656 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.9693, allocations: 82.16 kB / 0.9657 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.9696, allocations: 48.75 kB / 0.9657 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.9706, allocations: 0.5629 MB / 0.9663 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.971, allocations: 0.7755 MB / 0.967 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.9711, allocations: 47.53 kB / 0.9671 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.479e-05/0.9712, allocations: 27.64 kB / 0.9671 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.9712, allocations: 1 kB / 0.9671 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.008739/0.98, allocations: 3.286 MB / 0.9703 GB, free: 13.13 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches