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.0009925/0.0009925, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009806/0.0009806, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 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.9238/0.9238, allocations: 177.1 MB / 204.2 MB, free: 5.391 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.788/1.788, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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 1.483e-06/1.483e-06, allocations: 0 / 0.8116 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.585e-05, allocations: 3.188 kB / 0.8116 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002089/0.002105, allocations: 1.4 MB / 0.8129 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.003571, allocations: 1.156 MB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.003707, allocations: 4 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.669e-05/0.003774, allocations: 37.22 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.003917, allocations: 47.48 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.004222, allocations: 131.7 kB / 0.8143 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.004464, allocations: 346.1 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.004681, allocations: 146.5 kB / 0.8148 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.004987, allocations: 231.3 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.005081, allocations: 88.75 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.005116, allocations: 32 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.005173, allocations: 40 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.00521, allocations: 77.11 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.005273, allocations: 91.69 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.005511, allocations: 231 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.005513, allocations: 1.75 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005514, allocations: 0 / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.005518, allocations: 0 / 0.8155 GB, free: 13.71 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.0005385/0.006057, allocations: 0.6094 MB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.006091, allocations: 8.938 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.006229, allocations: 64.7 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.006451, allocations: 250.6 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.006484, allocations: 33.94 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.006511, allocations: 28.38 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.006818, allocations: 240.4 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.006828, allocations: 1.5 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.006847, allocations: 12.38 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.006857, allocations: 8.375 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.007029, allocations: 124.4 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.007737, allocations: 0.7006 MB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.007979, allocations: 187.8 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.008057, allocations: 64.66 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.00808, allocations: 4.953 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.008102, allocations: 45.66 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.008104, allocations: 0.5312 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0002973/0.008401, allocations: 211.1 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.00843, allocations: 55.41 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.008576, allocations: 254.7 kB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.008592, allocations: 33.7 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.008688, allocations: 231.8 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.008729, allocations: 79.33 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.008797, allocations: 76.28 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.00891, allocations: 0.5039 MB / 0.8192 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.00897, allocations: 37.25 kB / 0.8192 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.601e-05/0.009066, allocations: 131.3 kB / 0.8194 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.009216, allocations: 164.5 kB / 0.8195 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.009218, allocations: 0.8438 kB / 0.8195 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002216/0.00944, allocations: 211.5 kB / 0.8197 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.009452, allocations: 4 kB / 0.8197 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.009457, allocations: 4 kB / 0.8197 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.00947, allocations: 6.906 kB / 0.8197 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.009608, allocations: 51.91 kB / 0.8198 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.009617, allocations: 7.938 kB / 0.8198 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.009676, allocations: 31.77 kB / 0.8198 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.009689, allocations: 11.94 kB / 0.8198 GB, free: 9.031 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.265e-05/0.009781, allocations: 178 kB / 0.82 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.009813, allocations: 31.86 kB / 0.82 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.01002, allocations: 173.1 kB / 0.8202 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01003, allocations: 4.562 kB / 0.8202 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01003, allocations: 0 / 0.8202 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01004, allocations: 5.828 kB / 0.8202 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.01048, allocations: 252.3 kB / 0.8205 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01049, allocations: 0 / 0.8205 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.01057, allocations: 35.92 kB / 0.8205 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01057, allocations: 0 / 0.8205 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01058, allocations: 5.281 kB / 0.8205 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.01058, allocations: 4 kB / 0.8205 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01059, allocations: 0 / 0.8205 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.01079, allocations: 332.9 kB / 0.8208 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.01081, allocations: 23.8 kB / 0.8208 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.01083, allocations: 8 kB / 0.8208 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.01088, allocations: 12.64 kB / 0.8209 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.01094, allocations: 24.67 kB / 0.8209 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.01095, allocations: 8 kB / 0.8209 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.747e-05/0.01101, allocations: 173.3 kB / 0.8211 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01101, allocations: 0 / 0.8211 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001914/0.01121, allocations: 59.78 kB / 0.8211 GB, free: 7.668 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 7.719e-05/0.01128, allocations: 111.2 kB / 0.8212 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.01148, allocations: 151.4 kB / 0.8214 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01148, allocations: 5.281 kB / 0.8214 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.01156, allocations: 80.28 kB / 0.8214 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.01176, allocations: 37 kB / 0.8215 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.01244, allocations: 462.7 kB / 0.8219 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.05e-05/0.01249, allocations: 88.31 kB / 0.822 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.47e-05/0.01257, allocations: 37.81 kB / 0.822 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.01262, allocations: 25.09 kB / 0.8221 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01263, allocations: 0.6562 kB / 0.8221 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of Templates: time 0.00394/0.01657, allocations: 1.911 MB / 0.8239 GB, free: 4.793 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: 4.942961780820042]