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.447/1.447, allocations: 249.5 MB / 257 MB, free: 6.809 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.001087/0.001087, allocations: 172.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0009654/0.0009654, allocations: 92.23 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.129e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2299, allocations: 106.3 MB / 0.8853 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7234/0.9534, allocations: 136 MB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.9537, allocations: 76.25 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03807/0.9918, allocations: 15.43 MB / 1.033 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9918, allocations: 0 / 1.033 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.679e-05/0.9919, allocations: 31.98 kB / 1.033 GB, free: 4.793 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.001877/0.9938, allocations: 1.206 MB / 1.034 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.9938, allocations: 16.03 kB / 1.034 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.994, allocations: 150.1 kB / 1.035 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.9948, allocations: 0.5586 MB / 1.035 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.9949, allocations: 51.94 kB / 1.035 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.995, allocations: 76 kB / 1.035 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001363/0.9964, allocations: 0.8218 MB / 1.036 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.998, allocations: 0.8503 MB / 1.037 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.998, allocations: 0 / 1.037 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.9981, allocations: 0 / 1.037 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.9981, allocations: 36 kB / 1.037 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/1.003, allocations: 2.967 MB / 1.04 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000966/1.004, allocations: 0.538 MB / 1.04 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/1.004, allocations: 232.5 kB / 1.041 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/1.004, allocations: 17 kB / 1.041 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005977/1.005, allocations: 378.6 kB / 1.041 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 1.943e-06/1.005, allocations: 0 / 1.041 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.000956/1.006, allocations: 0.5212 MB / 1.041 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.006, allocations: 214.2 kB / 1.042 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/1.007, allocations: 479.5 kB / 1.042 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/1.007, allocations: 29.7 kB / 1.042 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/1.007, allocations: 0.5359 MB / 1.043 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/1.007, allocations: 232.5 kB / 1.043 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/1.007, allocations: 0 / 1.043 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000184/1.007, allocations: 379 kB / 1.043 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/1.008, allocations: 227 kB / 1.043 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/1.008, allocations: 314.8 kB / 1.044 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/1.009, allocations: 224.1 kB / 1.044 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.009, allocations: 0 / 1.044 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009227/1.009, allocations: 0.611 MB / 1.045 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.009, allocations: 7.984 kB / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.009, allocations: 4.219 kB / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.01, allocations: 4 kB / 1.045 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/1.01, allocations: 139.1 kB / 1.045 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.01, allocations: 4 kB / 1.045 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/1.011, allocations: 107.5 kB / 1.045 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/1.011, allocations: 27.56 kB / 1.045 GB, free: 11.54 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.0001653/1.011, allocations: 135.9 kB / 1.045 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/1.011, allocations: 71.14 kB / 1.045 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009097/1.012, allocations: 0.5263 MB / 1.046 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.012, allocations: 8 kB / 1.046 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/1.012, allocations: 0 / 1.046 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.012, allocations: 7.984 kB / 1.046 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/1.015, allocations: 2.237 MB / 1.048 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.015, allocations: 8 kB / 1.048 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/1.015, allocations: 135.8 kB / 1.048 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/1.015, allocations: 11.94 kB / 1.048 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/1.015, allocations: 15.94 kB / 1.048 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/1.015, allocations: 15.98 kB / 1.048 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.015, allocations: 11.94 kB / 1.048 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.017, allocations: 1.226 MB / 1.049 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/1.017, allocations: 166.3 kB / 1.049 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/1.017, allocations: 19.17 kB / 1.049 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/1.017, allocations: 59.95 kB / 1.049 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.017, allocations: 87.42 kB / 1.049 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/1.017, allocations: 38.42 kB / 1.05 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003466/1.018, allocations: 322.7 kB / 1.05 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/1.018, allocations: 3.938 kB / 1.05 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006616/1.018, allocations: 217.9 kB / 1.05 GB, free: 6.906 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.0002058/1.019, allocations: 128 kB / 1.05 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008639/1.02, allocations: 0.5569 MB / 1.051 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.02, allocations: 0 / 1.051 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006436/1.02, allocations: 397.1 kB / 1.051 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/1.021, allocations: 70.81 kB / 1.051 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/1.023, allocations: 1.293 MB / 1.052 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/1.024, allocations: 1.088 MB / 1.053 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003257/1.024, allocations: 73.03 kB / 1.054 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/1.024, allocations: 58.8 kB / 1.054 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of SimCode: time 4.2e-07/1.024, allocations: 0 / 1.054 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of Templates: time 0.01179/1.036, allocations: 5.343 MB / 1.059 GB, free: 14.37 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