Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.76/2.76, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001366/0.001366, allocations: 169 kB / 498.1 MB, free: 5.75 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.569/1.569, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001236/0.001236, allocations: 100.3 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 11.27 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3229, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.5226, allocations: 150.8 MB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5229, allocations: 79.94 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01071/0.5336, allocations: 4.377 MB / 1.375 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.746e-06/0.5337, allocations: 0 / 1.375 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.5337, allocations: 8 kB / 1.375 GB, free: 6.762 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0007119/0.5344, allocations: 0.5301 MB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5345, allocations: 8.031 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.5346, allocations: 39.53 kB / 1.375 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.5348, allocations: 219.4 kB / 1.375 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.5348, allocations: 20.66 kB / 1.375 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.5348, allocations: 32 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.5354, allocations: 294.1 kB / 1.376 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5354, allocations: 0 / 1.376 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.5355, allocations: 16 kB / 1.376 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5355, allocations: 11.94 kB / 1.376 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.5361, allocations: 266.5 kB / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.5374, allocations: 0.8621 MB / 1.377 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.5379, allocations: 262.7 kB / 1.377 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.538, allocations: 3.953 kB / 1.377 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.538, allocations: 38.56 kB / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.342e-06/0.538, allocations: 0 / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0007834/0.5388, allocations: 346.3 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.5389, allocations: 51.41 kB / 1.377 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.5391, allocations: 212.1 kB / 1.378 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.5391, allocations: 33.7 kB / 1.378 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5392, allocations: 168.5 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.5393, allocations: 74.91 kB / 1.378 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.5393, allocations: 8 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5394, allocations: 338.8 kB / 1.378 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.5397, allocations: 87.89 kB / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.5399, allocations: 96.61 kB / 1.378 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.5401, allocations: 81.28 kB / 1.379 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5401, allocations: 0 / 1.379 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005738/0.5407, allocations: 253.2 kB / 1.379 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5407, allocations: 11.95 kB / 1.379 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5407, allocations: 0 / 1.379 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5408, allocations: 0 / 1.379 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.5411, allocations: 43.91 kB / 1.379 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5411, allocations: 8 kB / 1.379 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.5413, allocations: 27.83 kB / 1.379 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.5413, allocations: 15.92 kB / 1.379 GB, free: 2.141 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001744/0.5415, allocations: 143.3 kB / 1.379 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.5415, allocations: 27.7 kB / 1.379 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/0.5422, allocations: 279.9 kB / 1.379 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5423, allocations: 0 / 1.379 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5423, allocations: 0 / 1.379 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5423, allocations: 7.984 kB / 1.379 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.5427, allocations: 369.3 kB / 1.38 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5427, allocations: 0 / 1.38 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.543, allocations: 47.91 kB / 1.38 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.543, allocations: 0 / 1.38 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.543, allocations: 8 kB / 1.38 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.543, allocations: 3.953 kB / 1.38 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.543, allocations: 0 / 1.38 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.5437, allocations: 356 kB / 1.38 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.5438, allocations: 104.8 kB / 1.38 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.5439, allocations: 8 kB / 1.38 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.544, allocations: 23.92 kB / 1.38 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.5441, allocations: 27.92 kB / 1.38 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.5441, allocations: 15.92 kB / 1.38 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001266/0.5443, allocations: 160.5 kB / 1.38 GB, free: 500 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5443, allocations: 0 / 1.38 GB, free: 500 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002901/0.5446, allocations: 55.84 kB / 1.38 GB, free: 444 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.000163/0.5448, allocations: 123.9 kB / 1.381 GB, free: 312 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004812/0.5452, allocations: 223.9 kB / 1.381 GB, free: 88 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5453, allocations: 0 / 1.381 GB, free: 88 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.5455, allocations: 135.9 kB / 1.381 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.5458, allocations: 24.66 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.5466, allocations: 0.5483 MB / 1.381 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.5469, allocations: 0.7718 MB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.547, allocations: 29.94 kB / 1.382 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.5471, allocations: 23.44 kB / 1.382 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5471, allocations: 0 / 1.382 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.005021/0.5521, allocations: 1.935 MB / 1.384 GB, free: 12.61 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches