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.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001288/0.001288, allocations: 190 kB / 16.14 MB, free: 6.645 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.782/2.782, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 0.8119 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8365/0.8378, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003997/0.8418, allocations: 2.138 MB / 0.9511 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.8437, allocations: 1.149 MB / 0.9522 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.8439, allocations: 3.469 kB / 0.9522 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.8443, allocations: 79.77 kB / 0.9523 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.8446, allocations: 82.42 kB / 0.9523 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.845, allocations: 164 kB / 0.9525 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.8454, allocations: 296 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.8456, allocations: 118 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.8458, allocations: 111.1 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.8459, allocations: 127.4 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.846, allocations: 17.31 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.8461, allocations: 62.3 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.8462, allocations: 74.44 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.8464, allocations: 123.9 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.8468, allocations: 423.3 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8468, allocations: 4 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8468, allocations: 1.375 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.8468, allocations: 0 / 0.9538 GB, free: 5.453 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.001027/0.8478, allocations: 0.6262 MB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.8479, allocations: 8.5 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.848, allocations: 37.97 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.8484, allocations: 336 kB / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.8484, allocations: 16.97 kB / 0.9548 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.8485, allocations: 17.81 kB / 0.9548 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.8488, allocations: 179.7 kB / 0.955 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8488, allocations: 1.125 kB / 0.955 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.8489, allocations: 9.094 kB / 0.955 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.8489, allocations: 8.438 kB / 0.955 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.8492, allocations: 128.8 kB / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.8502, allocations: 0.657 MB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/0.8507, allocations: 191.1 kB / 0.9559 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.8508, allocations: 84.08 kB / 0.956 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.8509, allocations: 6.016 kB / 0.956 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.8511, allocations: 127.4 kB / 0.9562 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.8511, allocations: 0 / 0.9562 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005281/0.8517, allocations: 238.2 kB / 0.9564 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.8517, allocations: 57.22 kB / 0.9564 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.8521, allocations: 366.2 kB / 0.9568 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.8521, allocations: 32.45 kB / 0.9568 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.8522, allocations: 168.8 kB / 0.957 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.8523, allocations: 43.7 kB / 0.957 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.8524, allocations: 68.84 kB / 0.9571 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.8525, allocations: 342.6 kB / 0.9574 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.8526, allocations: 94.38 kB / 0.9575 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.8529, allocations: 131.3 kB / 0.9576 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.8531, allocations: 141 kB / 0.9578 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8531, allocations: 1.219 kB / 0.9578 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004412/0.8536, allocations: 279 kB / 0.958 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8536, allocations: 9.094 kB / 0.958 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8536, allocations: 1.094 kB / 0.958 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.8536, allocations: 5.031 kB / 0.958 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.8538, allocations: 36.14 kB / 0.9581 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.8538, allocations: 2.188 kB / 0.9581 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.854, allocations: 34.47 kB / 0.9581 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.854, allocations: 10.44 kB / 0.9581 GB, free: 2.105 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.0001583/0.8542, allocations: 172.8 kB / 0.9583 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.8542, allocations: 27.8 kB / 0.9583 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.627e-05/0.8543, allocations: 28.05 kB / 0.9583 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.8543, allocations: 5.906 kB / 0.9583 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.8543, allocations: 3.984 kB / 0.9583 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8543, allocations: 1.062 kB / 0.9583 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.8546, allocations: 329.8 kB / 0.9587 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.8546, allocations: 4 kB / 0.9587 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.8547, allocations: 16.59 kB / 0.9587 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8547, allocations: 9.312 kB / 0.9587 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.8547, allocations: 5.359 kB / 0.9587 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.8548, allocations: 5.312 kB / 0.9587 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8548, allocations: 0 / 0.9587 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.8551, allocations: 211.6 kB / 0.9589 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.8552, allocations: 109.9 kB / 0.959 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.8552, allocations: 7.312 kB / 0.959 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.8553, allocations: 23.66 kB / 0.959 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/0.8554, allocations: 30.52 kB / 0.9591 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.8554, allocations: 8.344 kB / 0.9591 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002209/0.8557, allocations: 226 kB / 0.9593 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8557, allocations: 0 / 0.9593 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003696/0.8561, allocations: 67.61 kB / 0.9594 GB, free: 1.125 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.00105/0.8571, allocations: 433.6 kB / 0.9598 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.8576, allocations: 194.6 kB / 0.96 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8576, allocations: 0 / 0.96 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.8577, allocations: 80.88 kB / 0.96 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.8581, allocations: 48.02 kB / 0.9601 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.859, allocations: 0.5596 MB / 0.9606 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.8593, allocations: 0.772 MB / 0.9614 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.8594, allocations: 38.89 kB / 0.9614 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.8595, allocations: 32.55 kB / 0.9614 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.8595, allocations: 0 / 0.9614 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.008165/0.8677, allocations: 3.322 MB / 0.9647 GB, free: 13.97 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