Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001321/0.001321, 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.001642/0.001642, 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.996/0.996, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.851/1.851, allocations: 377.9 MB / 0.624 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] 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.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.299e-05, allocations: 6.25 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001468/0.001481, allocations: 1.355 MB / 0.8134 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.002389, allocations: 0.761 MB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.002415, allocations: 0 / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.002433, allocations: 0 / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.002485, allocations: 3.938 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.002765, allocations: 97.42 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.524e-05/0.00281, allocations: 15.94 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.002843, allocations: 4 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.002874, allocations: 9.016 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.00292, allocations: 7.938 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.002931, allocations: 0 / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.003148, allocations: 144.8 kB / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.00316, allocations: 0 / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.454e-05/0.003175, allocations: 9.156 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.00333, allocations: 127.7 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003331, allocations: 0 / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003332, allocations: 5.312 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.003336, allocations: 4 kB / 0.8145 GB, free: 14.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002521/0.003588, allocations: 360.2 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.003625, allocations: 12.03 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.003649, allocations: 6.984 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.003721, allocations: 108.6 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.003729, allocations: 384 / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-06/0.003734, allocations: 384 / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.147e-05/0.003795, allocations: 42.75 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.003801, allocations: 192 / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-06/0.003806, allocations: 1.344 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.003812, allocations: 3.938 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.003831, allocations: 4.531 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.548e-05/0.003926, allocations: 97.25 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.003988, allocations: 36.53 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.004002, allocations: 15.72 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/0.004751, allocations: 334.1 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.004772, allocations: 37.39 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.004772, allocations: 1.031 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 9.826e-05/0.004871, allocations: 41.69 kB / 0.8156 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.004896, allocations: 51.41 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.004956, allocations: 167 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.004966, allocations: 29.7 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.005, allocations: 127.9 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.005022, allocations: 11.84 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.005047, allocations: 19.38 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.005179, allocations: 498.8 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.005189, allocations: 7.984 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.005197, allocations: 8.125 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.925e-05/0.005227, allocations: 19.77 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005228, allocations: 0 / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.422e-05/0.005272, allocations: 41.69 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.005282, allocations: 7.938 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.005285, allocations: 1.562 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.005294, allocations: 0 / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.589e-05/0.00533, allocations: 4 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.005333, allocations: 0 / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.005344, allocations: 12.53 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-06/0.005347, allocations: 3.938 kB / 0.8165 GB, free: 12.7 MB / 0.7761 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 5.853e-05/0.005406, allocations: 161.3 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-06/0.005411, allocations: 4.906 kB / 0.8167 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.117e-05/0.005482, allocations: 45.38 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005484, allocations: 8.125 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.005485, allocations: 0 / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.005489, allocations: 3.938 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.109e-05/0.00555, allocations: 93.27 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.005551, allocations: 0 / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.005561, allocations: 7.984 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.005562, allocations: 0 / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.005566, allocations: 0 / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005567, allocations: 0 / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.005568, allocations: 4 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.74e-05/0.005626, allocations: 88.27 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-06/0.00563, allocations: 4 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-06/0.005636, allocations: 0 / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.39e-06/0.005642, allocations: 0 / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.005652, allocations: 4 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.005656, allocations: 4 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.005688, allocations: 123.2 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005688, allocations: 0 / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001458/0.005834, allocations: 31.88 kB / 0.8171 GB, free: 12.07 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: 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.0001533/0.005987, allocations: 127.2 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.444e-05/0.006042, allocations: 27.55 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.006044, allocations: 4 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.006054, allocations: 15.86 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.006184, allocations: 11.98 kB / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.00649, allocations: 109 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.686e-05/0.006517, allocations: 55.36 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.006535, allocations: 3.984 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.006584, allocations: 82.19 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.006584, allocations: 0 / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.002384/0.008968, allocations: 1.072 MB / 0.8185 GB, free: 10.52 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.998138431925327]