Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.227/2.227, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 182.9 kB / 491.2 MB, free: 1.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 91.83 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.169e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2776, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9265/1.204, allocations: 154.8 MB / 1.364 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.205, allocations: 97.12 kB / 1.364 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0206/1.225, allocations: 8.576 MB / 1.372 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/1.225, allocations: 0 / 1.372 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.876e-05/1.225, allocations: 3.75 kB / 1.372 GB, free: 32.65 MB / 0.8386 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.0007397/1.226, allocations: 0.5489 MB / 1.373 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.226, allocations: 11.66 kB / 1.373 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/1.226, allocations: 39.08 kB / 1.373 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/1.227, allocations: 319.8 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/1.227, allocations: 11.75 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/1.227, allocations: 14.2 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002164/1.227, allocations: 130 kB / 1.373 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/1.227, allocations: 149.9 kB / 1.373 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.227, allocations: 0 / 1.373 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/1.227, allocations: 7.875 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.227, allocations: 7.859 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/1.228, allocations: 0.6289 MB / 1.374 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/1.228, allocations: 189.1 kB / 1.374 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/1.228, allocations: 75.22 kB / 1.374 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/1.228, allocations: 6.141 kB / 1.374 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/1.229, allocations: 120.5 kB / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.502e-06/1.229, allocations: 0 / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0002938/1.229, allocations: 180.9 kB / 1.374 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/1.229, allocations: 62.31 kB / 1.374 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/1.229, allocations: 318.7 kB / 1.375 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/1.229, allocations: 36.89 kB / 1.375 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/1.229, allocations: 170.3 kB / 1.375 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/1.229, allocations: 41.95 kB / 1.375 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/1.229, allocations: 0 / 1.375 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.23, allocations: 337.8 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/1.23, allocations: 94.33 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/1.23, allocations: 141.6 kB / 1.375 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/1.23, allocations: 94.7 kB / 1.376 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.23, allocations: 0 / 1.376 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003899/1.23, allocations: 286 kB / 1.376 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.23, allocations: 3.906 kB / 1.376 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.231, allocations: 4 kB / 1.376 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.231, allocations: 3.875 kB / 1.376 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/1.231, allocations: 39.5 kB / 1.376 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.231, allocations: 3.953 kB / 1.376 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/1.231, allocations: 38.95 kB / 1.376 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/1.231, allocations: 7.781 kB / 1.376 GB, free: 30.74 MB / 0.8386 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 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.25e-05/1.231, allocations: 125.2 kB / 1.376 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/1.231, allocations: 23.31 kB / 1.376 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/1.231, allocations: 203.8 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.231, allocations: 0 / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.231, allocations: 3.938 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.231, allocations: 0 / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/1.232, allocations: 305.9 kB / 1.377 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.232, allocations: 4 kB / 1.377 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/1.232, allocations: 22.06 kB / 1.377 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/1.232, allocations: 4 kB / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/1.232, allocations: 0 / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.232, allocations: 6.641 kB / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.232, allocations: 0 / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/1.232, allocations: 212.9 kB / 1.377 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/1.232, allocations: 106.7 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/1.232, allocations: 11.34 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/1.232, allocations: 17.33 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/1.232, allocations: 35.88 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/1.232, allocations: 3.969 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001731/1.232, allocations: 219.8 kB / 1.377 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.233, allocations: 0 / 1.377 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002735/1.233, allocations: 65.53 kB / 1.377 GB, free: 30.1 MB / 0.8386 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.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007863/1.234, allocations: 380.4 kB / 1.378 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002861/1.234, allocations: 201.6 kB / 1.378 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.234, allocations: 64 / 1.378 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/1.234, allocations: 84.34 kB / 1.378 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/1.234, allocations: 40.47 kB / 1.378 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/1.235, allocations: 361.8 kB / 1.378 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/1.235, allocations: 0.7943 MB / 1.379 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001102/1.235, allocations: 38.58 kB / 1.379 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/1.235, allocations: 29.64 kB / 1.379 GB, free: 29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.235, allocations: 3.938 kB / 1.379 GB, free: 29 MB / 0.8386 GB Notification: Performance of Templates: time 0.005959/1.241, allocations: 3.149 MB / 1.382 GB, free: 28.49 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches