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.001356/0.001356, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001458/0.001458, allocations: 185 kB / 24.09 MB, free: 416 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.9518/0.9518, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.885/1.885, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.074e-06/2.074e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.713e-05, allocations: 6.25 kB / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001799/0.001816, allocations: 1.356 MB / 0.8134 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.00295, allocations: 1.142 MB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.003075, allocations: 4 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.243e-05/0.003137, allocations: 43.47 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.003267, allocations: 51.47 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.003536, allocations: 128.6 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.003765, allocations: 348.5 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.003973, allocations: 142.5 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.004252, allocations: 224.5 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.004345, allocations: 95.67 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.004378, allocations: 33.38 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-05/0.004438, allocations: 39.98 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.004474, allocations: 71.7 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.004529, allocations: 93.67 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.004765, allocations: 238.9 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004767, allocations: 0 / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004768, allocations: 0 / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004772, allocations: 3.938 kB / 0.8159 GB, free: 13.42 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.0004714/0.005243, allocations: 0.6032 MB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.005277, allocations: 8.031 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.005409, allocations: 72.69 kB / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.005619, allocations: 241.8 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.005646, allocations: 21.38 kB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.005671, allocations: 36.38 kB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.005901, allocations: 212.9 kB / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005911, allocations: 5.25 kB / 0.8171 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.005927, allocations: 12.38 kB / 0.8171 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.005936, allocations: 8.375 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.006044, allocations: 99.41 kB / 0.8172 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.006666, allocations: 0.6717 MB / 0.8179 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.006849, allocations: 159.8 kB / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.006903, allocations: 57.27 kB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.006927, allocations: 8.234 kB / 0.8181 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.006948, allocations: 41.61 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.363e-06/0.006949, allocations: 0.9375 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0002271/0.007176, allocations: 185.7 kB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.007201, allocations: 56.25 kB / 0.8184 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.007325, allocations: 258.6 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.007341, allocations: 34.55 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.007429, allocations: 235.1 kB / 0.8189 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.007466, allocations: 80.59 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.007534, allocations: 79.58 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.007645, allocations: 0.5078 MB / 0.8195 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.007683, allocations: 29.38 kB / 0.8195 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.007753, allocations: 107.1 kB / 0.8196 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.007872, allocations: 162.9 kB / 0.8198 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.007875, allocations: 0 / 0.8198 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001731/0.008048, allocations: 194 kB / 0.82 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.00806, allocations: 8 kB / 0.82 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.008065, allocations: 0 / 0.82 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.008077, allocations: 7.984 kB / 0.82 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.008196, allocations: 43.92 kB / 0.82 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.0082, allocations: 4 kB / 0.82 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.008257, allocations: 36.27 kB / 0.8201 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.008268, allocations: 13.34 kB / 0.8201 GB, free: 8.934 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.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.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 8.995e-05/0.008358, allocations: 182.7 kB / 0.8203 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.008388, allocations: 27.86 kB / 0.8203 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.008567, allocations: 173.1 kB / 0.8205 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008569, allocations: 6.594 kB / 0.8205 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.008571, allocations: 0 / 0.8205 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.008575, allocations: 3.984 kB / 0.8205 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.008745, allocations: 205 kB / 0.8207 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008746, allocations: 0 / 0.8207 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.008819, allocations: 31.98 kB / 0.8207 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008822, allocations: 0 / 0.8207 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.00883, allocations: 6.844 kB / 0.8207 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.008834, allocations: 11.94 kB / 0.8207 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.008835, allocations: 0 / 0.8207 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.009006, allocations: 307.7 kB / 0.821 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.009022, allocations: 27.8 kB / 0.821 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.009035, allocations: 0 / 0.821 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/0.009085, allocations: 11.98 kB / 0.821 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.009134, allocations: 28.89 kB / 0.8211 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.009141, allocations: 7.938 kB / 0.8211 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.421e-05/0.009205, allocations: 170.5 kB / 0.8212 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.009205, allocations: 0 / 0.8212 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001946/0.0094, allocations: 59.78 kB / 0.8213 GB, free: 7.645 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.647e-05/0.009476, allocations: 115 kB / 0.8214 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.009625, allocations: 132.6 kB / 0.8215 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.009626, allocations: 0 / 0.8215 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.38e-05/0.00969, allocations: 77.8 kB / 0.8216 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.009882, allocations: 31.94 kB / 0.8216 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.01047, allocations: 462.9 kB / 0.8221 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.01051, allocations: 88.31 kB / 0.8222 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.347e-05/0.0106, allocations: 36 kB / 0.8222 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.01069, allocations: 110.2 kB / 0.8223 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01069, allocations: 0 / 0.8223 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of Templates: time 0.00392/0.01461, allocations: 2.009 MB / 0.8243 GB, free: 4.625 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.014199547935277]