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.001018/0.001018, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001368/0.001368, allocations: 170.5 kB / 24.87 MB, free: 8.867 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.9464/0.9464, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.984/1.984, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 177] 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.583e-06/1.583e-06, allocations: 0.875 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.335e-05, allocations: 10.25 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001921/0.001944, allocations: 1.355 MB / 0.8141 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.003069, allocations: 1.149 MB / 0.8153 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.003176, allocations: 5.688 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.075e-05/0.003237, allocations: 35.53 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.003369, allocations: 55.47 kB / 0.8154 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.003688, allocations: 129.3 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.003943, allocations: 344.6 kB / 0.8158 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.004166, allocations: 146.5 kB / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.004608, allocations: 228.9 kB / 0.8162 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.004704, allocations: 95.67 kB / 0.8163 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.004738, allocations: 32 kB / 0.8163 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.004793, allocations: 36 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.004832, allocations: 72.78 kB / 0.8164 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.00489, allocations: 95.67 kB / 0.8165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.005123, allocations: 231 kB / 0.8167 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005125, allocations: 0.7812 kB / 0.8167 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005126, allocations: 0 / 0.8167 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.005131, allocations: 0.5938 kB / 0.8167 GB, free: 13.45 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.0005206/0.005651, allocations: 0.6101 MB / 0.8173 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.005686, allocations: 9.188 kB / 0.8173 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.005823, allocations: 76.69 kB / 0.8174 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.006043, allocations: 232.9 kB / 0.8176 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.006073, allocations: 30.75 kB / 0.8176 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.006098, allocations: 32.38 kB / 0.8177 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.006343, allocations: 221.5 kB / 0.8179 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.006353, allocations: 192 / 0.8179 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.006374, allocations: 12.38 kB / 0.8179 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.006382, allocations: 8.375 kB / 0.8179 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.006494, allocations: 98.84 kB / 0.818 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.007134, allocations: 0.6632 MB / 0.8186 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.007332, allocations: 165.4 kB / 0.8188 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.007392, allocations: 56.06 kB / 0.8188 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.007415, allocations: 10.83 kB / 0.8189 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.007441, allocations: 45.64 kB / 0.8189 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.007442, allocations: 0 / 0.8189 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0002458/0.007688, allocations: 181.7 kB / 0.8191 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.007719, allocations: 55.41 kB / 0.8191 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.007853, allocations: 266.6 kB / 0.8194 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.007868, allocations: 25.7 kB / 0.8194 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.007968, allocations: 235.7 kB / 0.8196 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.00801, allocations: 84.03 kB / 0.8197 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.008074, allocations: 67.59 kB / 0.8198 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.008194, allocations: 0.5122 MB / 0.8203 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.008233, allocations: 30.19 kB / 0.8203 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.038e-05/0.008314, allocations: 111.1 kB / 0.8204 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.008445, allocations: 153.2 kB / 0.8206 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.008449, allocations: 8.891 kB / 0.8206 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00019/0.008639, allocations: 194 kB / 0.8207 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.008651, allocations: 4 kB / 0.8208 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.008657, allocations: 4 kB / 0.8208 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.008667, allocations: 4 kB / 0.8208 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.008799, allocations: 47.91 kB / 0.8208 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.008805, allocations: 10.66 kB / 0.8208 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.008863, allocations: 35.77 kB / 0.8208 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.008874, allocations: 4 kB / 0.8209 GB, free: 8.953 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 9.742e-05/0.008971, allocations: 177.6 kB / 0.821 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.009007, allocations: 31.86 kB / 0.8211 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.0092, allocations: 170 kB / 0.8212 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.009203, allocations: 4 kB / 0.8212 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.009205, allocations: 0 / 0.8212 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.00921, allocations: 4.484 kB / 0.8212 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.009395, allocations: 210 kB / 0.8214 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009397, allocations: 0 / 0.8214 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.009489, allocations: 39.92 kB / 0.8215 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.009492, allocations: 4.781 kB / 0.8215 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.0095, allocations: 0 / 0.8215 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009502, allocations: 1.875 kB / 0.8215 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009503, allocations: 0 / 0.8215 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.009699, allocations: 319.6 kB / 0.8218 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.009717, allocations: 23.78 kB / 0.8218 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.009734, allocations: 13.34 kB / 0.8218 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.009788, allocations: 11.98 kB / 0.8218 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.009841, allocations: 23.95 kB / 0.8218 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.009849, allocations: 4 kB / 0.8218 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.009909, allocations: 166.3 kB / 0.822 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00991, allocations: 0 / 0.822 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001913/0.0101, allocations: 60.44 kB / 0.8221 GB, free: 7.66 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.0001059/0.01021, allocations: 112.6 kB / 0.8222 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.01038, allocations: 131.5 kB / 0.8223 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01038, allocations: 0 / 0.8223 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.01045, allocations: 84.42 kB / 0.8224 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01068, allocations: 40.06 kB / 0.8224 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.01136, allocations: 457 kB / 0.8228 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.01155, allocations: 85.44 kB / 0.8229 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.472e-05/0.01163, allocations: 33.88 kB / 0.823 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/0.01173, allocations: 110.2 kB / 0.8231 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of SimCode: time 9.81e-07/0.01173, allocations: 4.594 kB / 0.8231 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of Templates: time 0.00418/0.01591, allocations: 2.055 MB / 0.8251 GB, free: 4.59 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.232615223154426]