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.0009246/0.0009246, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.000949/0.000949, allocations: 181 kB / 23.36 MB, free: 1.133 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.9846/0.9846, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.401/2.401, allocations: 438.8 MB / 0.6827 GB, free: 13.54 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 1.944e-06/1.944e-06, allocations: 0.7656 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.165e-05, allocations: 2.312 kB / 0.8386 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.00215/0.002172, allocations: 1 MB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.003796, allocations: 1.049 MB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.003867, allocations: 0 / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.924e-05/0.003916, allocations: 19.8 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.004041, allocations: 27.73 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.00429, allocations: 63.88 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.004476, allocations: 172 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.004634, allocations: 73.95 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.004905, allocations: 119.7 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.004994, allocations: 43.88 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.005021, allocations: 16 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.005074, allocations: 20 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.005106, allocations: 35.84 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.005152, allocations: 43.89 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.00534, allocations: 115.5 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.005343, allocations: 4 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005344, allocations: 0 / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.005348, allocations: 0 / 0.8413 GB, free: 11.3 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.0004765/0.005824, allocations: 348.2 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.005861, allocations: 12.62 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.005999, allocations: 36.84 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.006181, allocations: 153.5 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.006211, allocations: 20.36 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.006233, allocations: 12.38 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.006444, allocations: 124.2 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.006454, allocations: 192 / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.006467, allocations: 4.375 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006475, allocations: 4.375 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.006556, allocations: 44.36 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.007021, allocations: 311.5 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.007167, allocations: 66.53 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.007206, allocations: 24.84 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.007223, allocations: 0 / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.007249, allocations: 34.56 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.00725, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001915/0.007442, allocations: 89.47 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.007477, allocations: 55.41 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.007588, allocations: 161.9 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.007605, allocations: 29.7 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.007663, allocations: 116.4 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.007691, allocations: 27.75 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.00775, allocations: 49.66 kB / 0.843 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.007842, allocations: 318.8 kB / 0.8433 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.161e-05/0.007873, allocations: 12 kB / 0.8433 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.007921, allocations: 39.41 kB / 0.8433 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.016e-05/0.008011, allocations: 75.64 kB / 0.8434 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008013, allocations: 0 / 0.8434 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001404/0.008153, allocations: 85.53 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.00817, allocations: 11.94 kB / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008175, allocations: 0 / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.008189, allocations: 0 / 0.8435 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.008297, allocations: 23.98 kB / 0.8435 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.008301, allocations: 0 / 0.8435 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.008356, allocations: 23.97 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.008366, allocations: 4 kB / 0.8436 GB, free: 8.855 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 9.025e-05/0.008456, allocations: 117.8 kB / 0.8437 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.008491, allocations: 15.92 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.00852, allocations: 16.78 kB / 0.8437 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008522, allocations: 0 / 0.8437 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.008526, allocations: 4 kB / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008529, allocations: 0 / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.008697, allocations: 105.8 kB / 0.8438 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008699, allocations: 11.94 kB / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.008771, allocations: 15.98 kB / 0.8438 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008773, allocations: 0 / 0.8438 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.008784, allocations: 7.984 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.008787, allocations: 3.938 kB / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008788, allocations: 0 / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.008944, allocations: 167.5 kB / 0.844 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.00896, allocations: 15.88 kB / 0.844 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.008977, allocations: 4 kB / 0.844 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.009056, allocations: 7.938 kB / 0.844 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.009114, allocations: 19.97 kB / 0.8441 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.009122, allocations: 0 / 0.8441 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.00916, allocations: 34.89 kB / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.00916, allocations: 0 / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002439/0.009404, allocations: 27.95 kB / 0.8441 GB, free: 8.25 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 0.0001049/0.009509, allocations: 84.41 kB / 0.8442 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.009635, allocations: 56.72 kB / 0.8442 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.009639, allocations: 8.125 kB / 0.8443 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.00969, allocations: 36.83 kB / 0.8443 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.009891, allocations: 15.98 kB / 0.8443 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.01048, allocations: 269 kB / 0.8446 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.01054, allocations: 67.84 kB / 0.8446 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.916e-05/0.01061, allocations: 25.12 kB / 0.8447 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.01071, allocations: 75.36 kB / 0.8447 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/0.01071, allocations: 0 / 0.8447 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of Templates: time 0.004302/0.01501, allocations: 1.308 MB / 0.846 GB, free: 6.316 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 -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.24371202616021]