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.445/2.445, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.002137/0.002136, allocations: 179.3 kB / 0.4902 GB, free: 2.242 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.683/1.683, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.0009753/0.0009752, allocations: 111.6 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004365, allocations: 13.58 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3199, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.5164, allocations: 155.6 MB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.5168, allocations: 83.94 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04349/0.5603, allocations: 17.52 MB / 1.398 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5603, allocations: 0 / 1.398 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.489e-05/0.5604, allocations: 32 kB / 1.398 GB, free: 12.19 MB / 0.9011 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.002191/0.5626, allocations: 1.315 MB / 1.4 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5627, allocations: 12.56 kB / 1.4 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.5629, allocations: 150.2 kB / 1.4 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.5639, allocations: 0.6704 MB / 1.401 GB, free: 9.945 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.5641, allocations: 118.8 kB / 1.401 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.5642, allocations: 140 kB / 1.401 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.5662, allocations: 1.115 MB / 1.402 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.5662, allocations: 8 kB / 1.402 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.5663, allocations: 60 kB / 1.402 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.5664, allocations: 35.98 kB / 1.402 GB, free: 8.453 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.5682, allocations: 0.9521 MB / 1.403 GB, free: 7.496 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005533/0.5737, allocations: 3.399 MB / 1.406 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.575, allocations: 0.5789 MB / 1.407 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.5751, allocations: 12.64 kB / 1.407 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000829/0.5759, allocations: 419.5 kB / 1.407 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=74): time 3.888e-06/0.5759, allocations: 0 / 1.407 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of matching and sorting (n=74): time 0.001899/0.5778, allocations: 0.8569 MB / 1.408 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.578, allocations: 222.1 kB / 1.408 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.5791, allocations: 0.8757 MB / 1.409 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/0.5792, allocations: 45.7 kB / 1.409 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.5797, allocations: 0.5118 MB / 1.41 GB, free: 408 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.5799, allocations: 244.5 kB / 1.41 GB, free: 160 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.58, allocations: 16 kB / 1.41 GB, free: 144 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5801, allocations: 337.9 kB / 1.41 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.5807, allocations: 281.9 kB / 1.41 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.5814, allocations: 386.6 kB / 1.411 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/0.582, allocations: 304.9 kB / 1.411 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.582, allocations: 0 / 1.411 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001628/0.5836, allocations: 0.8376 MB / 1.412 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.5837, allocations: 33.7 kB / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5837, allocations: 0 / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/0.5838, allocations: 8.062 kB / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.5844, allocations: 135.8 kB / 1.412 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.5844, allocations: 4 kB / 1.412 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.5852, allocations: 214.5 kB / 1.412 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.5853, allocations: 28 kB / 1.412 GB, free: 13.55 MB / 0.9167 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 () * Number of clocked 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.0006483/0.586, allocations: 264.2 kB / 1.413 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5861, allocations: 106.7 kB / 1.413 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.5874, allocations: 0.646 MB / 1.413 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.5874, allocations: 8 kB / 1.413 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.5874, allocations: 3.984 kB / 1.413 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.5875, allocations: 7.984 kB / 1.413 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/0.5916, allocations: 2.47 MB / 1.416 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5916, allocations: 8 kB / 1.416 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.5921, allocations: 137.1 kB / 1.416 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.5922, allocations: 12 kB / 1.416 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.5922, allocations: 27.98 kB / 1.416 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/0.5923, allocations: 15.94 kB / 1.416 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.5923, allocations: 11.94 kB / 1.416 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.594, allocations: 1.347 MB / 1.417 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.5943, allocations: 219.5 kB / 1.417 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.5944, allocations: 24 kB / 1.418 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.5949, allocations: 75.94 kB / 1.418 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.5951, allocations: 84.19 kB / 1.418 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.5952, allocations: 35.98 kB / 1.418 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008937/0.5961, allocations: 0.6537 MB / 1.418 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5961, allocations: 0 / 1.418 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007392/0.5968, allocations: 211.5 kB / 1.419 GB, free: 6.719 MB / 0.9167 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) * 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.0002599/0.5971, allocations: 156.8 kB / 1.419 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.5985, allocations: 0.7353 MB / 1.419 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5985, allocations: 3.938 kB / 1.419 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008135/0.5993, allocations: 424.1 kB / 1.42 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.5999, allocations: 124 kB / 1.42 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.603, allocations: 2.161 MB / 1.422 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.6037, allocations: 1.093 MB / 1.423 GB, free: 1.863 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003923/0.6041, allocations: 107.3 kB / 1.423 GB, free: 1.754 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.6043, allocations: 75.42 kB / 1.423 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.6043, allocations: 0 / 1.423 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of Templates: time 0.5821/1.186, allocations: 8.308 MB / 1.431 GB, free: 179 MB / 0.9167 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