Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 249.3 MB / 261.8 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 174.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008812/0.0008813, allocations: 97.14 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.084e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2005, allocations: 106.3 MB / 0.8918 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7409/0.9414, allocations: 135.7 MB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.9417, allocations: 85.67 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03758/0.9793, allocations: 15.55 MB / 1.04 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9793, allocations: 0 / 1.04 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.656e-05/0.9794, allocations: 28 kB / 1.04 GB, free: 1.758 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.001815/0.9812, allocations: 1.203 MB / 1.041 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.9813, allocations: 12.03 kB / 1.041 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.9815, allocations: 154.1 kB / 1.041 GB, free: 432 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/0.9822, allocations: 0.5586 MB / 1.042 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/0.9823, allocations: 118.1 kB / 1.042 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.9825, allocations: 135.9 kB / 1.042 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.9841, allocations: 1.05 MB / 1.043 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.9842, allocations: 3.938 kB / 1.043 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/0.9843, allocations: 56.75 kB / 1.043 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.9843, allocations: 32 kB / 1.043 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.9857, allocations: 0.8819 MB / 1.044 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/0.9905, allocations: 3.34 MB / 1.047 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.9916, allocations: 0.5735 MB / 1.048 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.992, allocations: 245.5 kB / 1.048 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.495e-05/0.9921, allocations: 8.781 kB / 1.048 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/0.9927, allocations: 403.3 kB / 1.048 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 4.068e-06/0.9927, allocations: 3.984 kB / 1.048 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.001034/0.9938, allocations: 0.5998 MB / 1.049 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.9939, allocations: 218.1 kB / 1.049 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.9951, allocations: 0.8683 MB / 1.05 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.9952, allocations: 44.7 kB / 1.05 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.9955, allocations: 0.4968 MB / 1.05 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.9958, allocations: 246.2 kB / 1.051 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.9958, allocations: 13.31 kB / 1.051 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.996, allocations: 331.8 kB / 1.051 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.9964, allocations: 237.7 kB / 1.051 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.9969, allocations: 344.2 kB / 1.052 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.9973, allocations: 238.2 kB / 1.052 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9973, allocations: 4 kB / 1.052 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001145/0.9985, allocations: 0.6981 MB / 1.052 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.9985, allocations: 8 kB / 1.052 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.9985, allocations: 0 / 1.052 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.9985, allocations: 4 kB / 1.052 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.9991, allocations: 143 kB / 1.053 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.9991, allocations: 4 kB / 1.053 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.9998, allocations: 181.2 kB / 1.053 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.9999, allocations: 27.14 kB / 1.053 GB, free: 7.586 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.hys.y,$PRE.winSta.pulseStart,winSta.pulseStart,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): 95 * 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 0.0001821/1, allocations: 156.3 kB / 1.053 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1, allocations: 106.6 kB / 1.053 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/1.001, allocations: 0.6157 MB / 1.054 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.001, allocations: 8 kB / 1.054 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.001, allocations: 0 / 1.054 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/1.001, allocations: 3.984 kB / 1.054 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/1.004, allocations: 2.494 MB / 1.056 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.004, allocations: 11.98 kB / 1.056 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/1.005, allocations: 143.3 kB / 1.056 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-05/1.005, allocations: 12 kB / 1.056 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/1.005, allocations: 26.14 kB / 1.056 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.507e-05/1.005, allocations: 15.98 kB / 1.056 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.005, allocations: 19.81 kB / 1.056 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/1.007, allocations: 1.307 MB / 1.058 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/1.007, allocations: 219.9 kB / 1.058 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.007, allocations: 28.56 kB / 1.058 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/1.008, allocations: 73.06 kB / 1.058 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/1.008, allocations: 94.09 kB / 1.058 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/1.008, allocations: 27.62 kB / 1.058 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008037/1.009, allocations: 0.6393 MB / 1.059 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/1.009, allocations: 4 kB / 1.059 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006485/1.009, allocations: 202.5 kB / 1.059 GB, free: 2.391 MB / 0.6667 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,actAirSet_RehBox.uWin,actAirSet_RehBox.hys.y,actAirSet_RehBox1.hys.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.hys.y,actAirSet_RehBox.hys.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.0002066/1.009, allocations: 137 kB / 1.059 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.01, allocations: 0.5974 MB / 1.06 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.01, allocations: 0 / 1.06 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/1.011, allocations: 416.8 kB / 1.06 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/1.012, allocations: 110.9 kB / 1.06 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/1.014, allocations: 1.373 MB / 1.061 GB, free: 220 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/1.015, allocations: 1.085 MB / 1.062 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003999/1.015, allocations: 115.2 kB / 1.063 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/1.015, allocations: 75.42 kB / 1.063 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of SimCode: time 5e-07/1.015, allocations: 0 / 1.063 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.01573/1.031, allocations: 7.485 MB / 1.07 GB, free: 7.523 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches