Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 390.5 MB / 398 MB, free: 10.93 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.000986/0.0009859, allocations: 176.8 kB / 491.2 MB, free: 1.559 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.607/1.607, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0008936/0.0008936, allocations: 95.38 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.771e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.365, allocations: 154.8 MB / 1.364 GB, free: 17.64 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.366, allocations: 88.12 kB / 1.364 GB, free: 17.64 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04085/1.407, allocations: 17.37 MB / 1.381 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.965e-06/1.407, allocations: 0 / 1.381 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.005e-05/1.407, allocations: 31.09 kB / 1.381 GB, free: 30.38 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.002652/1.409, allocations: 1.227 MB / 1.382 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.921e-05/1.409, allocations: 7.438 kB / 1.382 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/1.41, allocations: 158.3 kB / 1.382 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.411, allocations: 0.6815 MB / 1.383 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/1.411, allocations: 57.53 kB / 1.383 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.411, allocations: 81 kB / 1.383 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001545/1.413, allocations: 0.8113 MB / 1.384 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/1.414, allocations: 0.8668 MB / 1.384 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/1.414, allocations: 4 kB / 1.384 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/1.414, allocations: 0 / 1.384 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/1.415, allocations: 34.47 kB / 1.384 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004651/1.419, allocations: 3.026 MB / 1.387 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/1.42, allocations: 0.5003 MB / 1.388 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/1.42, allocations: 279 kB / 1.388 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.456e-05/1.421, allocations: 12.27 kB / 1.388 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/1.421, allocations: 369.7 kB / 1.389 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=74): time 2.414e-06/1.421, allocations: 0 / 1.389 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74): time 0.000824/1.422, allocations: 0.4941 MB / 1.389 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/1.422, allocations: 217.4 kB / 1.389 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/1.423, allocations: 472.1 kB / 1.39 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/1.423, allocations: 29.39 kB / 1.39 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/1.423, allocations: 0.5488 MB / 1.39 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/1.423, allocations: 229.8 kB / 1.39 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/1.423, allocations: 0 / 1.39 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.423, allocations: 373.5 kB / 1.391 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/1.424, allocations: 232 kB / 1.391 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/1.424, allocations: 329.3 kB / 1.391 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/1.425, allocations: 235.8 kB / 1.392 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.425, allocations: 0 / 1.392 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00106/1.426, allocations: 0.6582 MB / 1.392 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/1.426, allocations: 37.59 kB / 1.392 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.426, allocations: 7.828 kB / 1.392 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/1.426, allocations: 3.938 kB / 1.392 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/1.426, allocations: 135.5 kB / 1.392 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.426, allocations: 3.844 kB / 1.392 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/1.427, allocations: 140.2 kB / 1.393 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/1.427, allocations: 26.56 kB / 1.393 GB, free: 25.46 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.0001656/1.427, allocations: 127.2 kB / 1.393 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/1.427, allocations: 78.38 kB / 1.393 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007568/1.428, allocations: 0.5083 MB / 1.393 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.428, allocations: 7.562 kB / 1.393 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.428, allocations: 0 / 1.393 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1.428, allocations: 3.984 kB / 1.393 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/1.431, allocations: 2.157 MB / 1.395 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/1.431, allocations: 11.72 kB / 1.395 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/1.431, allocations: 131.2 kB / 1.396 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/1.431, allocations: 15.42 kB / 1.396 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/1.431, allocations: 8.156 kB / 1.396 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/1.431, allocations: 19.61 kB / 1.396 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.431, allocations: 15.62 kB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.432, allocations: 1.199 MB / 1.397 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.432, allocations: 166.3 kB / 1.397 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/1.432, allocations: 11.44 kB / 1.397 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/1.433, allocations: 58.25 kB / 1.397 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.433, allocations: 93.78 kB / 1.397 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/1.433, allocations: 30.58 kB / 1.397 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000315/1.433, allocations: 317.2 kB / 1.397 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.433, allocations: 0 / 1.397 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006876/1.434, allocations: 233.9 kB / 1.398 GB, free: 22.71 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.000251/1.434, allocations: 144.7 kB / 1.398 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008951/1.435, allocations: 0.6177 MB / 1.398 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.435, allocations: 7.781 kB / 1.398 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005619/1.436, allocations: 378.5 kB / 1.399 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/1.436, allocations: 81.53 kB / 1.399 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/1.439, allocations: 1.298 MB / 1.4 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/1.439, allocations: 1.085 MB / 1.401 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002994/1.44, allocations: 74.92 kB / 1.401 GB, free: 20.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/1.44, allocations: 56.3 kB / 1.401 GB, free: 20.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.44, allocations: 0 / 1.401 GB, free: 20.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.01246/1.452, allocations: 6.078 MB / 1.407 GB, free: 17 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches