Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.001125/0.001125, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00141/0.00141, allocations: 169 kB / 24.28 MB, free: 280 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 1.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.902/1.902, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.8116 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/3.04e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001885/0.001915, allocations: 1.021 MB / 0.8126 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003012, allocations: 1.023 MB / 0.8136 GB, free: 0 / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.003115, allocations: 4.578 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.003162, allocations: 20.94 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.003271, allocations: 23.8 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.003514, allocations: 73.77 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.003672, allocations: 168.1 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.003832, allocations: 64.67 kB / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.00406, allocations: 111.7 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.004141, allocations: 55.8 kB / 0.8141 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.004167, allocations: 17.38 kB / 0.8141 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.004216, allocations: 20 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.004243, allocations: 35.91 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.004286, allocations: 53.36 kB / 0.8142 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004472, allocations: 131.4 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004475, allocations: 0 / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.163e-06/0.004476, allocations: 0 / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.004481, allocations: 0 / 0.8143 GB, free: 15.24 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005054/0.004986, allocations: 477.2 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.005023, allocations: 8.031 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.005162, allocations: 34.78 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.005429, allocations: 192.2 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.005454, allocations: 12.38 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.00547, allocations: 12.38 kB / 0.815 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.00568, allocations: 130.4 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.005688, allocations: 4.172 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.005703, allocations: 8.375 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.005712, allocations: 4.375 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.005812, allocations: 60.83 kB / 0.8152 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.006313, allocations: 432 kB / 0.8156 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.006472, allocations: 87.66 kB / 0.8157 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.00652, allocations: 29.23 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.006538, allocations: 4 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.00656, allocations: 37.33 kB / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.006561, allocations: 0 / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002331/0.006794, allocations: 111.4 kB / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.006829, allocations: 59.34 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.006945, allocations: 211.7 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.006962, allocations: 25.7 kB / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.007032, allocations: 172.3 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.007057, allocations: 35.72 kB / 0.8164 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.007109, allocations: 51.31 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.007225, allocations: 0.4893 MB / 0.8169 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.007266, allocations: 15.98 kB / 0.8169 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.007323, allocations: 63.39 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.736e-05/0.00741, allocations: 75.69 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.007413, allocations: 0.8438 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001501/0.007563, allocations: 115.4 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.007577, allocations: 4 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007582, allocations: 4 kB / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.007595, allocations: 1.031 kB / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.007704, allocations: 23.92 kB / 0.8172 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.007711, allocations: 6.031 kB / 0.8172 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.007752, allocations: 11.95 kB / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.007759, allocations: 4 kB / 0.8172 GB, free: 12.06 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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 0.0003448/0.008104, allocations: 172.5 kB / 0.8174 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.008131, allocations: 18.2 kB / 0.8174 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.008163, allocations: 16.78 kB / 0.8174 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008166, allocations: 0 / 0.8174 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.008169, allocations: 3.938 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.008172, allocations: 0 / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.008321, allocations: 172.5 kB / 0.8176 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008322, allocations: 0.5 kB / 0.8176 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.008375, allocations: 16.52 kB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.008378, allocations: 3.938 kB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.008388, allocations: 9.641 kB / 0.8176 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.008393, allocations: 4 kB / 0.8176 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.008394, allocations: 4 kB / 0.8176 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.008562, allocations: 239.9 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.008574, allocations: 16.38 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.008589, allocations: 1.344 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.008634, allocations: 8 kB / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.008698, allocations: 23.91 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.008703, allocations: 0.625 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.00876, allocations: 153 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00876, allocations: 0.6562 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001744/0.008934, allocations: 27.89 kB / 0.818 GB, free: 11.13 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: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001078/0.009042, allocations: 107.2 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.009198, allocations: 71.58 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009199, allocations: 0 / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/0.009254, allocations: 43.61 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.009479, allocations: 23.86 kB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.0101, allocations: 277.2 kB / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.01014, allocations: 67.84 kB / 0.8186 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.758e-05/0.0102, allocations: 17.36 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.01024, allocations: 25.39 kB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of SimCode: time 1.182e-06/0.01024, allocations: 4 kB / 0.8187 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of Templates: time 0.003359/0.0136, allocations: 1.286 MB / 0.8199 GB, free: 9.246 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.31936066201888]