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.001212/0.001212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001608/0.001607, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.57/1.57, allocations: 222.9 MB / 239.9 MB, free: 4.562 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.694/2.694, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 71.89 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9449/0.9472, allocations: 140.4 MB / 0.9492 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.004669/0.9519, allocations: 2.138 MB / 0.9512 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.9541, allocations: 1.14 MB / 0.9524 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.9544, allocations: 6.5 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.9549, allocations: 84.66 kB / 0.9524 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.9553, allocations: 79.55 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.9559, allocations: 163.9 kB / 0.9527 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.9564, allocations: 326.8 kB / 0.953 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.9566, allocations: 117.6 kB / 0.9531 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.9568, allocations: 137.6 kB / 0.9532 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.957, allocations: 141.4 kB / 0.9534 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.957, allocations: 31.38 kB / 0.9534 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.9573, allocations: 70.33 kB / 0.9535 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.9574, allocations: 90.75 kB / 0.9535 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.9575, allocations: 144.2 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.958, allocations: 438.2 kB / 0.9541 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.958, allocations: 0.8125 kB / 0.9541 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.958, allocations: 0 / 0.9541 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.958, allocations: 1.188 kB / 0.9541 GB, free: 5.52 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.0009332/0.9589, allocations: 0.6301 MB / 0.9547 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.959, allocations: 9.031 kB / 0.9547 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.9591, allocations: 32.41 kB / 0.9548 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.9595, allocations: 337.5 kB / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.9595, allocations: 16.69 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.9595, allocations: 17.28 kB / 0.9551 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.9599, allocations: 187.8 kB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.9599, allocations: 1.438 kB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.9599, allocations: 5.188 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.9599, allocations: 4 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.9602, allocations: 130 kB / 0.9554 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009304/0.9611, allocations: 0.6555 MB / 0.9561 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.9615, allocations: 190.6 kB / 0.9562 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.9617, allocations: 84.72 kB / 0.9563 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.9617, allocations: 2.375 kB / 0.9563 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.962, allocations: 128.7 kB / 0.9565 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.962, allocations: 1.812 kB / 0.9565 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0004954/0.9625, allocations: 241.8 kB / 0.9567 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.9625, allocations: 52.91 kB / 0.9567 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.9629, allocations: 361 kB / 0.9571 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.9629, allocations: 37.83 kB / 0.9571 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.963, allocations: 168.8 kB / 0.9573 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.9631, allocations: 42.33 kB / 0.9573 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.9632, allocations: 73.19 kB / 0.9574 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.9633, allocations: 343 kB / 0.9577 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.9634, allocations: 82.72 kB / 0.9578 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.9636, allocations: 134.5 kB / 0.9579 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.9638, allocations: 150.3 kB / 0.9581 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9639, allocations: 0 / 0.9581 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004708/0.9643, allocations: 279.6 kB / 0.9583 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.9644, allocations: 8.969 kB / 0.9583 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9644, allocations: 1.156 kB / 0.9583 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.9644, allocations: 5.031 kB / 0.9583 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.9646, allocations: 32.61 kB / 0.9584 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.9646, allocations: 5 kB / 0.9584 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.9647, allocations: 38.91 kB / 0.9584 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.9648, allocations: 10.53 kB / 0.9584 GB, free: 2.164 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.0001572/0.9649, allocations: 165.4 kB / 0.9586 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.965, allocations: 23.66 kB / 0.9586 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.9651, allocations: 35.03 kB / 0.9586 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.9651, allocations: 6.844 kB / 0.9586 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9651, allocations: 3.938 kB / 0.9587 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9651, allocations: 0 / 0.9587 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.9654, allocations: 333.8 kB / 0.959 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9654, allocations: 0.8438 kB / 0.959 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.9655, allocations: 12.91 kB / 0.959 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9655, allocations: 1.125 kB / 0.959 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.9655, allocations: 10.17 kB / 0.959 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.9655, allocations: 5.031 kB / 0.959 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9655, allocations: 0 / 0.959 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.9658, allocations: 211.1 kB / 0.9592 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.9659, allocations: 109.8 kB / 0.9593 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.966, allocations: 7.406 kB / 0.9593 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.9661, allocations: 24.56 kB / 0.9593 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.9662, allocations: 33.92 kB / 0.9594 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.9662, allocations: 4.531 kB / 0.9594 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002243/0.9664, allocations: 226 kB / 0.9596 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9664, allocations: 0 / 0.9596 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002965/0.9667, allocations: 68.17 kB / 0.9597 GB, free: 1.195 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: 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.001/0.9677, allocations: 428 kB / 0.9601 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.9682, allocations: 206.6 kB / 0.9603 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9682, allocations: 0 / 0.9603 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.9684, allocations: 81.12 kB / 0.9603 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.9687, allocations: 49.62 kB / 0.9604 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.9695, allocations: 0.5599 MB / 0.9609 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.9698, allocations: 0.7756 MB / 0.9617 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00012/0.9699, allocations: 42.61 kB / 0.9617 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.97, allocations: 33.61 kB / 0.9618 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.97, allocations: 3.938 kB / 0.9618 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.01005/0.98, allocations: 3.446 MB / 0.9651 GB, free: 13.96 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