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.411/1.411, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 191.6 kB / 326.5 MB, free: 2.258 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.833/1.833, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009142/0.0009142, allocations: 94.17 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 9.594 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.255, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.4417, allocations: 135.8 MB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.442, allocations: 79.95 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0383/0.4803, allocations: 15.57 MB / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4804, allocations: 0 / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.339e-05/0.4805, allocations: 32 kB / 1.048 GB, free: 8.18 MB / 0.698 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.002117/0.4826, allocations: 1.292 MB / 1.049 GB, free: 6.832 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4826, allocations: 15.97 kB / 1.049 GB, free: 6.816 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.4829, allocations: 150.2 kB / 1.049 GB, free: 6.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.4837, allocations: 0.5684 MB / 1.05 GB, free: 6.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.4838, allocations: 110.7 kB / 1.05 GB, free: 5.949 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.4839, allocations: 132 kB / 1.05 GB, free: 5.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.4858, allocations: 1.094 MB / 1.051 GB, free: 4.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.4859, allocations: 4 kB / 1.051 GB, free: 4.699 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.486, allocations: 52 kB / 1.051 GB, free: 4.648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.486, allocations: 32 kB / 1.051 GB, free: 4.617 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.4878, allocations: 0.9595 MB / 1.052 GB, free: 3.652 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005236/0.4931, allocations: 3.34 MB / 1.056 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4953/0.9884, allocations: 0.5991 MB / 1.056 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.666e-05/0.9885, allocations: 11.62 kB / 1.056 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000893/0.9894, allocations: 432.1 kB / 1.057 GB, free: 142.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.086e-06/0.9894, allocations: 0 / 1.057 GB, free: 142.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.001846/0.9913, allocations: 0.8875 MB / 1.058 GB, free: 142.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.9914, allocations: 214.9 kB / 1.058 GB, free: 141.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.9924, allocations: 0.869 MB / 1.059 GB, free: 141.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.9925, allocations: 46.61 kB / 1.059 GB, free: 141.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.9928, allocations: 0.5045 MB / 1.059 GB, free: 141.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.993, allocations: 237.4 kB / 1.059 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.993, allocations: 16.58 kB / 1.059 GB, free: 141.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.9931, allocations: 339.1 kB / 1.06 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.9936, allocations: 270.3 kB / 1.06 GB, free: 141.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.9941, allocations: 372.6 kB / 1.06 GB, free: 141.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.9945, allocations: 267.6 kB / 1.061 GB, free: 141.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9945, allocations: 0 / 1.061 GB, free: 141.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00119/0.9957, allocations: 0.7708 MB / 1.061 GB, free: 141 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9958, allocations: 10.97 kB / 1.061 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9958, allocations: 0 / 1.061 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.9958, allocations: 6.953 kB / 1.061 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.9963, allocations: 132.6 kB / 1.061 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.9964, allocations: 5.625 kB / 1.061 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.9969, allocations: 181.1 kB / 1.062 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.997, allocations: 22.94 kB / 1.062 GB, free: 140.9 MB / 0.698 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 () * Number of clocked 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.0003571/0.9973, allocations: 268 kB / 1.062 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.9974, allocations: 104.3 kB / 1.062 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.9985, allocations: 0.6644 MB / 1.063 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.9986, allocations: 14.64 kB / 1.063 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9986, allocations: 0 / 1.063 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.9986, allocations: 7.297 kB / 1.063 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/1.002, allocations: 2.554 MB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/1.002, allocations: 9.922 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/1.002, allocations: 135.7 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/1.002, allocations: 11.62 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/1.002, allocations: 24.05 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/1.002, allocations: 13.61 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/1.002, allocations: 14.06 kB / 1.065 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/1.004, allocations: 1.364 MB / 1.067 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/1.004, allocations: 223.8 kB / 1.067 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.005, allocations: 24.98 kB / 1.067 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/1.005, allocations: 70.09 kB / 1.067 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/1.005, allocations: 94.3 kB / 1.067 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/1.005, allocations: 32.52 kB / 1.067 GB, free: 138.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001119/1.007, allocations: 0.6509 MB / 1.068 GB, free: 138.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.007, allocations: 1.969 kB / 1.068 GB, free: 138.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008312/1.007, allocations: 205.8 kB / 1.068 GB, free: 138.7 MB / 0.698 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) * Number of clocked states: 0 () * 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.000223/1.008, allocations: 140.8 kB / 1.068 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00143/1.009, allocations: 0.6526 MB / 1.069 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.009, allocations: 1.719 kB / 1.069 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008935/1.01, allocations: 442.2 kB / 1.069 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/1.011, allocations: 112.5 kB / 1.069 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/1.014, allocations: 2.153 MB / 1.071 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/1.014, allocations: 1.082 MB / 1.072 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005068/1.015, allocations: 113.4 kB / 1.073 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/1.015, allocations: 78.98 kB / 1.073 GB, free: 136.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.015, allocations: 0 / 1.073 GB, free: 136.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01899/1.034, allocations: 7.479 MB / 1.08 GB, free: 136.1 MB / 0.698 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