Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009808/0.0009808, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001086/0.001086, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.031/1.031, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.511/2.511, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.731e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001969/0.001996, allocations: 1.05 MB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003181, allocations: 1.041 MB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.003269, allocations: 4 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.267e-05/0.003312, allocations: 19.73 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.003417, allocations: 31.73 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.003616, allocations: 63.88 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.003764, allocations: 172 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.0039, allocations: 73.95 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.004134, allocations: 111.7 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.004212, allocations: 47.81 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.004236, allocations: 16 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.915e-05/0.004295, allocations: 20 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.004319, allocations: 39.83 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.004356, allocations: 43.91 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.004521, allocations: 115.5 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004523, allocations: 0 / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.263e-06/0.004525, allocations: 0 / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004529, allocations: 0 / 0.8414 GB, free: 11.27 MB / 0.8073 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.000348/0.004877, allocations: 352.2 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.004907, allocations: 12.61 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.005012, allocations: 28.92 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.005169, allocations: 161.4 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.005188, allocations: 12.38 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.005201, allocations: 16.38 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.005363, allocations: 124.2 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.00537, allocations: 192 / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.00538, allocations: 4.375 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.005386, allocations: 8.312 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.794e-05/0.005444, allocations: 44.36 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.005874, allocations: 303.6 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.00598, allocations: 70.47 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.006004, allocations: 16.86 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.006018, allocations: 4 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.006036, allocations: 34.56 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.006038, allocations: 0 / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001421/0.00618, allocations: 89.53 kB / 0.8427 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.006205, allocations: 55.34 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.006287, allocations: 160.6 kB / 0.8429 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.006297, allocations: 29.7 kB / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.006348, allocations: 120.4 kB / 0.843 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.00637, allocations: 35.72 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.006414, allocations: 33.69 kB / 0.8431 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.006489, allocations: 330.8 kB / 0.8434 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.006509, allocations: 8 kB / 0.8434 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.006546, allocations: 39.42 kB / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.688e-05/0.006612, allocations: 67.27 kB / 0.8435 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.006615, allocations: 4 kB / 0.8435 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000103/0.006718, allocations: 81.59 kB / 0.8436 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.00673, allocations: 7.938 kB / 0.8436 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.006735, allocations: 4 kB / 0.8436 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.006744, allocations: 0 / 0.8436 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.006833, allocations: 31.91 kB / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.006837, allocations: 0 / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.006874, allocations: 11.98 kB / 0.8436 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.006882, allocations: 12 kB / 0.8436 GB, free: 8.82 MB / 0.8073 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 6.982e-05/0.006952, allocations: 117.8 kB / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.006977, allocations: 19.86 kB / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.006998, allocations: 16.78 kB / 0.8438 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.007001, allocations: 3.984 kB / 0.8438 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007002, allocations: 0 / 0.8438 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007005, allocations: 0 / 0.8438 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.007122, allocations: 109.8 kB / 0.8439 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007124, allocations: 4 kB / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.007173, allocations: 19.98 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.007175, allocations: 0 / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.007181, allocations: 4 kB / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007184, allocations: 7.938 kB / 0.8439 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007185, allocations: 3.938 kB / 0.8439 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.007294, allocations: 168 kB / 0.8441 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.007304, allocations: 11.89 kB / 0.8441 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.007315, allocations: 0 / 0.8441 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.007362, allocations: 11.94 kB / 0.8441 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.007405, allocations: 15.97 kB / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.007411, allocations: 11.98 kB / 0.8442 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.007437, allocations: 30.89 kB / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007437, allocations: 4 kB / 0.8442 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001421/0.007579, allocations: 19.95 kB / 0.8442 GB, free: 8.211 MB / 0.8073 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 8.205e-05/0.007661, allocations: 84.42 kB / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.022e-05/0.007751, allocations: 60.75 kB / 0.8443 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.007756, allocations: 4.188 kB / 0.8443 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/0.007795, allocations: 44.77 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.007944, allocations: 14.44 kB / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.008417, allocations: 269.1 kB / 0.8447 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.124e-05/0.008458, allocations: 71.77 kB / 0.8447 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.689e-05/0.008515, allocations: 25.14 kB / 0.8448 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.008588, allocations: 71.36 kB / 0.8448 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.008588, allocations: 0 / 0.8448 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of Templates: time 0.003322/0.01191, allocations: 1.315 MB / 0.8461 GB, free: 6.27 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.3635473400354385]