Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9037/0.9037, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.834/1.834, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0.7656 kB / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.793e-05, allocations: 10.25 kB / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001976/0.002004, allocations: 1.381 MB / 0.8129 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003112, allocations: 1.149 MB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.003212, allocations: 7.938 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.163e-05/0.003273, allocations: 36.88 kB / 0.8141 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.003399, allocations: 43.55 kB / 0.8141 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.003665, allocations: 137.3 kB / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.003888, allocations: 336.6 kB / 0.8146 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.004117, allocations: 150.5 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.00438, allocations: 208.1 kB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.004478, allocations: 103.6 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.004518, allocations: 40.72 kB / 0.8151 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.697e-05/0.004575, allocations: 40.53 kB / 0.8151 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.004619, allocations: 91.61 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.004688, allocations: 101.2 kB / 0.8153 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.005199, allocations: 246.9 kB / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005202, allocations: 0 / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.262e-06/0.005203, allocations: 4 kB / 0.8155 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.005209, allocations: 0.5312 kB / 0.8155 GB, free: 13.97 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0005715/0.00578, allocations: 0.6068 MB / 0.8161 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.005816, allocations: 8.031 kB / 0.8161 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.00597, allocations: 73.86 kB / 0.8162 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.006289, allocations: 262.8 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.006321, allocations: 30.75 kB / 0.8165 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.006349, allocations: 32.38 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.006643, allocations: 231.8 kB / 0.8167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.006652, allocations: 1.656 kB / 0.8167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.006673, allocations: 16.38 kB / 0.8167 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.006683, allocations: 12.31 kB / 0.8167 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.006866, allocations: 127.3 kB / 0.8169 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.007593, allocations: 0.7045 MB / 0.8176 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.007848, allocations: 183.6 kB / 0.8177 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.007931, allocations: 64.12 kB / 0.8178 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.007956, allocations: 10.2 kB / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.007976, allocations: 37.62 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.283e-06/0.007978, allocations: 0 / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.000329/0.008307, allocations: 213.5 kB / 0.818 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.008339, allocations: 57.78 kB / 0.8181 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.008489, allocations: 262.7 kB / 0.8183 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.008505, allocations: 29.7 kB / 0.8184 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.008601, allocations: 227.2 kB / 0.8186 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.008643, allocations: 79.33 kB / 0.8187 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.008712, allocations: 79.58 kB / 0.8187 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.008837, allocations: 0.5039 MB / 0.8192 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.008899, allocations: 33.08 kB / 0.8193 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.009009, allocations: 132.4 kB / 0.8194 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.009167, allocations: 164.4 kB / 0.8196 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.00917, allocations: 0 / 0.8196 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002586/0.009428, allocations: 210.7 kB / 0.8198 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.009445, allocations: 8.781 kB / 0.8198 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.009449, allocations: 0 / 0.8198 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.009463, allocations: 5.125 kB / 0.8198 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.009608, allocations: 55.91 kB / 0.8198 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.009614, allocations: 0.8438 kB / 0.8198 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.009678, allocations: 27.81 kB / 0.8198 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.009692, allocations: 23.12 kB / 0.8199 GB, free: 9.273 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.972e-05/0.009792, allocations: 176.5 kB / 0.82 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.009824, allocations: 31.86 kB / 0.8201 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.01006, allocations: 176.5 kB / 0.8202 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.01006, allocations: 0 / 0.8202 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.01006, allocations: 6.375 kB / 0.8202 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01007, allocations: 3.984 kB / 0.8202 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.01026, allocations: 252.3 kB / 0.8205 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.01026, allocations: 4 kB / 0.8205 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.01035, allocations: 35.92 kB / 0.8205 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01035, allocations: 4 kB / 0.8205 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.01037, allocations: 12.86 kB / 0.8205 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01037, allocations: 0 / 0.8205 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01037, allocations: 0 / 0.8205 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.01058, allocations: 321.1 kB / 0.8208 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.0106, allocations: 23.8 kB / 0.8209 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.01062, allocations: 9.016 kB / 0.8209 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.01067, allocations: 8 kB / 0.8209 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.01073, allocations: 27.89 kB / 0.8209 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.01074, allocations: 13.12 kB / 0.8209 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.637e-05/0.01081, allocations: 165.4 kB / 0.8211 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01081, allocations: 0 / 0.8211 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002165/0.01102, allocations: 68.7 kB / 0.8211 GB, free: 7.898 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001066/0.01113, allocations: 104.8 kB / 0.8212 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.01136, allocations: 152 kB / 0.8214 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01136, allocations: 1.344 kB / 0.8214 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.01145, allocations: 88.22 kB / 0.8215 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.01168, allocations: 32.67 kB / 0.8215 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007852/0.01246, allocations: 459.8 kB / 0.8219 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.01252, allocations: 88.31 kB / 0.822 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.409e-05/0.0126, allocations: 35.47 kB / 0.8221 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.01266, allocations: 28.48 kB / 0.8221 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.01266, allocations: 0 / 0.8221 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of Templates: time 0.004304/0.01696, allocations: 1.851 MB / 0.8239 GB, free: 5.098 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.096078848000616]