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.001408/0.001408, allocations: 82.64 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.00175/0.00175, allocations: 181 kB / 24.09 MB, free: 420 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.9945/0.9945, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.931/1.931, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.635e-06/2.635e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/3.072e-05, allocations: 2.875 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002674/0.002705, allocations: 1.005 MB / 0.813 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.004219, allocations: 1.024 MB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.004346, allocations: 4 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.121e-05/0.004407, allocations: 15.8 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.004549, allocations: 27.69 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.004845, allocations: 69.39 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.005053, allocations: 168.1 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.005246, allocations: 68.66 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.005567, allocations: 120.2 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.005667, allocations: 49.56 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.005699, allocations: 16 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.438e-05/0.005763, allocations: 16 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.005796, allocations: 35.89 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.005842, allocations: 48.69 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.006064, allocations: 115.4 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.006068, allocations: 0 / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.283e-06/0.006069, allocations: 0.6875 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.006074, allocations: 0 / 0.8147 GB, free: 14.65 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.0005218/0.006596, allocations: 481.5 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.006638, allocations: 8.031 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.006787, allocations: 39.39 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.006977, allocations: 176.3 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.006996, allocations: 8.375 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.007014, allocations: 16.38 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.007222, allocations: 120.4 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.007232, allocations: 192 / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.007245, allocations: 4.906 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.007254, allocations: 8.359 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.085e-05/0.007345, allocations: 45.67 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.007903, allocations: 408.3 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.008056, allocations: 80.73 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.008105, allocations: 23.73 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.008128, allocations: 8.531 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.008156, allocations: 33.39 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.008157, allocations: 4.594 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002445/0.008402, allocations: 102.5 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.008436, allocations: 55.41 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.008577, allocations: 220.5 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.008593, allocations: 25.7 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.008682, allocations: 171.2 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.008714, allocations: 33.11 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.008777, allocations: 43.33 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.008917, allocations: 0.4962 MB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.008955, allocations: 20.62 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.009018, allocations: 53.25 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.837e-05/0.009117, allocations: 72.83 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.009119, allocations: 3.938 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001689/0.009288, allocations: 102.3 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.009304, allocations: 10.22 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.009311, allocations: 3.984 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.009323, allocations: 0 / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.009446, allocations: 27.92 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.009449, allocations: 4 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.009509, allocations: 10.8 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.009519, allocations: 4 kB / 0.8175 GB, free: 11.57 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.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.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.0001001/0.009619, allocations: 167 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.009657, allocations: 19.88 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.009693, allocations: 16.78 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.009695, allocations: 0 / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.009697, allocations: 1.531 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.009701, allocations: 0 / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.00988, allocations: 149.1 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009882, allocations: 0 / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.009965, allocations: 24.48 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.009968, allocations: 0 / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.009977, allocations: 4.562 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.009984, allocations: 8.5 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.009985, allocations: 0 / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.01019, allocations: 228.4 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.01021, allocations: 17.25 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.01023, allocations: 8 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.01032, allocations: 7.938 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.01038, allocations: 21 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01038, allocations: 4 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.873e-05/0.01045, allocations: 147.1 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01045, allocations: 0.6562 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002674/0.01072, allocations: 27.89 kB / 0.8184 GB, free: 10.68 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.0001186/0.01084, allocations: 114.3 kB / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.01098, allocations: 59.59 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01098, allocations: 0 / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.01104, allocations: 43.58 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.01133, allocations: 24.7 kB / 0.8186 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/0.01201, allocations: 268.3 kB / 0.8188 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.01206, allocations: 72.83 kB / 0.8189 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.13e-05/0.01214, allocations: 17.05 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.921e-05/0.01224, allocations: 91.19 kB / 0.819 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01224, allocations: 0 / 0.819 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of Templates: time 0.004213/0.01646, allocations: 1.376 MB / 0.8204 GB, free: 8.645 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.063971561845392]