Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.0008521/0.0008521, allocations: 80.94 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.0009009/0.0009009, allocations: 173 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.8816/0.8816, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.212/2.212, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 178] 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.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.933e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001678/0.001697, allocations: 1.355 MB / 0.8399 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.002591, allocations: 0.7675 MB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.002614, allocations: 0 / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.002631, allocations: 0 / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.002681, allocations: 4 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.002975, allocations: 103.8 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.445e-05/0.003019, allocations: 11.94 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.003054, allocations: 7.969 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.864e-05/0.003082, allocations: 8 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.003128, allocations: 7.938 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.00314, allocations: 4 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.003364, allocations: 140 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.003378, allocations: 7.984 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.316e-05/0.003391, allocations: 4 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.003539, allocations: 127.6 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.003542, allocations: 4 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.52e-07/0.003543, allocations: 0 / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003546, allocations: 3.938 kB / 0.8411 GB, free: 11.65 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002186/0.003765, allocations: 236.9 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.003794, allocations: 8.031 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.866e-05/0.003813, allocations: 0.9375 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.803e-05/0.003881, allocations: 109.8 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.003891, allocations: 384 / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.0039, allocations: 4.375 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.596e-05/0.003956, allocations: 33.83 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.003962, allocations: 0 / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.003969, allocations: 7.984 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003974, allocations: 0 / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.003991, allocations: 7.938 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.724e-05/0.004069, allocations: 65.03 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.482e-05/0.004123, allocations: 26.61 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.178e-05/0.004135, allocations: 4.859 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/0.004827, allocations: 316.6 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.004853, allocations: 38.56 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.004854, allocations: 0 / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 8.615e-05/0.004941, allocations: 45.56 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.004968, allocations: 55.41 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.429e-05/0.005012, allocations: 102.7 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.005023, allocations: 29.7 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.00504, allocations: 80.14 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.005064, allocations: 15.89 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.005085, allocations: 13.72 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.005149, allocations: 310.8 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.005155, allocations: 0 / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.005164, allocations: 8.172 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.005185, allocations: 16.83 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005187, allocations: 128 / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.883e-05/0.005226, allocations: 45.62 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.005236, allocations: 8 kB / 0.8426 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.00524, allocations: 3.938 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.005251, allocations: 3.938 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.551e-05/0.005287, allocations: 8 kB / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-06/0.005288, allocations: 0 / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-06/0.005298, allocations: 0 / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.005302, allocations: 4 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.374e-05/0.005346, allocations: 105.8 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.005352, allocations: 7.984 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.824e-05/0.00542, allocations: 53.31 kB / 0.8428 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.005424, allocations: 7.938 kB / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.005426, allocations: 0 / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.005428, allocations: 0 / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.285e-05/0.005481, allocations: 61.91 kB / 0.8428 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005482, allocations: 0 / 0.8428 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.005493, allocations: 7.984 kB / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.005495, allocations: 0 / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-06/0.005498, allocations: 0 / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005499, allocations: 0 / 0.8429 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0055, allocations: 4 kB / 0.8429 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.00579, allocations: 65.06 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.005795, allocations: 3.938 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-06/0.005803, allocations: 8 kB / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-06/0.005808, allocations: 0 / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-06/0.005817, allocations: 0 / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.005822, allocations: 7.922 kB / 0.8429 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.546e-06/0.00583, allocations: 8.859 kB / 0.843 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00583, allocations: 0 / 0.843 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001303/0.00596, allocations: 27.88 kB / 0.843 GB, free: 9.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000151/0.006111, allocations: 108.4 kB / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.741e-05/0.006159, allocations: 21.08 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.006162, allocations: 0 / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.887e-06/0.00617, allocations: 12.89 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.565e-05/0.006256, allocations: 15.86 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.006548, allocations: 120.9 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.678e-05/0.006575, allocations: 55.3 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.006596, allocations: 11.92 kB / 0.8433 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.006633, allocations: 55.36 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.006634, allocations: 0 / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of Templates: time 0.00233/0.008964, allocations: 1.068 MB / 0.8444 GB, free: 7.996 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.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: 4.90047398256138]