Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet_RehBox.nOcc|actAirSet_RehBox.ppmCO2|actAirSet_RehBox.uWin|actAirSet_RehBox.uOpeMod|actAirSet_RehBox1.uOpeMod|actAirSet_RehBox.co2ConLoo.y|actAirSet_RehBox.lin1.y|actAirSet_RehBox.VOccDisMin_flow|actAirSet_RehBox.VDisSetMin_flow|actAirSet_RehBox.VDisConMin_flow|actAirSet_RehBox.VDisCooSetMax_flow|actAirSet_RehBox.VActCooMax_flow|actAirSet_RehBox.VActCooMin_flow|actAirSet_RehBox.VActMin_flow|actAirSet_RehBox.VActHeaMin_flow|actAirSet_RehBox.VActHeaMax_flow|actAirSet_RehBox1.VActCooMax_flow|actAirSet_RehBox1.VActCooMin_flow|actAirSet_RehBox1.VActMin_flow|actAirSet_RehBox1.VActHeaMin_flow|actAirSet_RehBox1.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet_RehBox.nOcc|actAirSet_RehBox.ppmCO2|actAirSet_RehBox.uWin|actAirSet_RehBox.uOpeMod|actAirSet_RehBox1.uOpeMod|actAirSet_RehBox.co2ConLoo.y|actAirSet_RehBox.lin1.y|actAirSet_RehBox.VOccDisMin_flow|actAirSet_RehBox.VDisSetMin_flow|actAirSet_RehBox.VDisConMin_flow|actAirSet_RehBox.VDisCooSetMax_flow|actAirSet_RehBox.VActCooMax_flow|actAirSet_RehBox.VActCooMin_flow|actAirSet_RehBox.VActMin_flow|actAirSet_RehBox.VActHeaMin_flow|actAirSet_RehBox.VActHeaMax_flow|actAirSet_RehBox1.VActCooMax_flow|actAirSet_RehBox1.VActCooMin_flow|actAirSet_RehBox1.VActMin_flow|actAirSet_RehBox1.VActHeaMin_flow|actAirSet_RehBox1.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.579/2.579, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001346/0.001346, allocations: 188.8 kB / 487.4 MB, free: 5.031 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.612/1.612, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009218, allocations: 95.84 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.646e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2386, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8494/1.088, allocations: 152.3 MB / 1.355 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.088, allocations: 75.39 kB / 1.355 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03934/1.128, allocations: 17.06 MB / 1.372 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.392e-06/1.128, allocations: 0 / 1.372 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.926e-05/1.128, allocations: 31.41 kB / 1.372 GB, free: 32.46 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: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.001948/1.13, allocations: 1.23 MB / 1.373 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.13, allocations: 7.688 kB / 1.373 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/1.13, allocations: 154.1 kB / 1.373 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/1.131, allocations: 0.6865 MB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/1.131, allocations: 54.12 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.131, allocations: 84.81 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001318/1.133, allocations: 0.8068 MB / 1.374 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/1.134, allocations: 0.8666 MB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/1.134, allocations: 3.984 kB / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/1.134, allocations: 0 / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/1.134, allocations: 34.47 kB / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/1.139, allocations: 3.017 MB / 1.378 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008493/1.14, allocations: 0.4977 MB / 1.379 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/1.14, allocations: 280.1 kB / 1.379 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/1.14, allocations: 12.48 kB / 1.379 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005043/1.141, allocations: 365 kB / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=74): time 2.604e-06/1.141, allocations: 0 / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74): time 0.0008238/1.142, allocations: 0.5092 MB / 1.38 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.142, allocations: 214.1 kB / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/1.142, allocations: 469.3 kB / 1.381 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/1.142, allocations: 36.8 kB / 1.381 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/1.143, allocations: 0.5423 MB / 1.381 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/1.143, allocations: 228.6 kB / 1.381 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/1.143, allocations: 7.781 kB / 1.381 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.143, allocations: 369.2 kB / 1.382 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/1.143, allocations: 230 kB / 1.382 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/1.144, allocations: 333.1 kB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/1.144, allocations: 234.5 kB / 1.382 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.144, allocations: 0 / 1.382 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00102/1.145, allocations: 0.6536 MB / 1.383 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/1.145, allocations: 43.39 kB / 1.383 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.145, allocations: 0 / 1.383 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/1.145, allocations: 3.906 kB / 1.383 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/1.146, allocations: 134.5 kB / 1.383 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.146, allocations: 3.844 kB / 1.383 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/1.146, allocations: 144.1 kB / 1.383 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/1.147, allocations: 34.39 kB / 1.383 GB, free: 27.55 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,actAirSet_RehBox.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001623/1.147, allocations: 131.4 kB / 1.384 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/1.147, allocations: 62.19 kB / 1.384 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007654/1.148, allocations: 0.5123 MB / 1.384 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.148, allocations: 11.59 kB / 1.384 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.148, allocations: 0 / 1.384 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.148, allocations: 3.984 kB / 1.384 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/1.15, allocations: 2.152 MB / 1.386 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.15, allocations: 7.781 kB / 1.386 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/1.151, allocations: 130.8 kB / 1.386 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.151, allocations: 11.53 kB / 1.386 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/1.151, allocations: 19.36 kB / 1.386 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.151, allocations: 19.47 kB / 1.386 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.151, allocations: 11.62 kB / 1.386 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/1.152, allocations: 1.202 MB / 1.388 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/1.152, allocations: 157.4 kB / 1.388 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/1.152, allocations: 19.2 kB / 1.388 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/1.152, allocations: 54.55 kB / 1.388 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.152, allocations: 93.27 kB / 1.388 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/1.152, allocations: 30.31 kB / 1.388 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003542/1.153, allocations: 318.5 kB / 1.388 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.153, allocations: 0 / 1.388 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007473/1.154, allocations: 232.7 kB / 1.388 GB, free: 24.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002494/1.154, allocations: 146.4 kB / 1.389 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008885/1.155, allocations: 0.6223 MB / 1.389 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.155, allocations: 3.875 kB / 1.389 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005385/1.155, allocations: 376.2 kB / 1.39 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/1.156, allocations: 88.59 kB / 1.39 GB, free: 24.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/1.158, allocations: 1.298 MB / 1.391 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/1.159, allocations: 1.083 MB / 1.392 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003078/1.159, allocations: 79.45 kB / 1.392 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/1.159, allocations: 57.61 kB / 1.392 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.159, allocations: 0 / 1.392 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of Templates: time 0.01148/1.171, allocations: 6.065 MB / 1.398 GB, free: 19.93 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches