Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001588/0.001588, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001668/0.001668, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.526/1.526, allocations: 177.2 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.893/2.893, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.967e-06/8.967e-06, allocations: 4 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.226e-05/6.122e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003474/0.003535, allocations: 1.299 MB / 0.9523 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.005191, allocations: 0.7256 MB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.00523, allocations: 4 kB / 0.953 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.005255, allocations: 3.984 kB / 0.953 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.005322, allocations: 4 kB / 0.953 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.005816, allocations: 91.84 kB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.348e-05/0.0059, allocations: 19.92 kB / 0.9531 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.005955, allocations: 0 / 0.9531 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.006001, allocations: 11.94 kB / 0.9531 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.006069, allocations: 3.984 kB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.006087, allocations: 4 kB / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004162/0.006503, allocations: 144 kB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.006521, allocations: 4 kB / 0.9533 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.006558, allocations: 8 kB / 0.9533 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.006867, allocations: 131.6 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.00687, allocations: 0 / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006871, allocations: 0 / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.006877, allocations: 0 / 0.9534 GB, free: 9.055 MB / 0.8575 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.000501/0.007378, allocations: 266.2 kB / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.007423, allocations: 8.031 kB / 0.9537 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.007465, allocations: 0.9375 kB / 0.9537 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.0076, allocations: 113.7 kB / 0.9538 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.007615, allocations: 384 / 0.9538 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.007626, allocations: 8.375 kB / 0.9538 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.007742, allocations: 38.25 kB / 0.9538 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.007752, allocations: 192 / 0.9538 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.007762, allocations: 384 / 0.9538 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.00777, allocations: 3.938 kB / 0.9538 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.007816, allocations: 4 kB / 0.9538 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.00799, allocations: 105.4 kB / 0.9539 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.0081, allocations: 34.52 kB / 0.9539 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.008133, allocations: 12.92 kB / 0.954 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/0.01004, allocations: 372.5 kB / 0.9543 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.01008, allocations: 30.56 kB / 0.9543 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.01008, allocations: 0 / 0.9543 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002089/0.01029, allocations: 65.72 kB / 0.9544 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.01035, allocations: 55.34 kB / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.01045, allocations: 93.86 kB / 0.9546 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.01047, allocations: 25.7 kB / 0.9546 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.01051, allocations: 80.14 kB / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.01056, allocations: 11.95 kB / 0.9547 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.0106, allocations: 17.7 kB / 0.9547 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.01076, allocations: 310.8 kB / 0.955 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.01079, allocations: 8 kB / 0.955 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.01081, allocations: 8.031 kB / 0.955 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.01086, allocations: 24.97 kB / 0.955 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01086, allocations: 3.938 kB / 0.955 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.598e-05/0.01094, allocations: 41.64 kB / 0.9551 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.01096, allocations: 4 kB / 0.9551 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01097, allocations: 0 / 0.9551 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.01098, allocations: 0 / 0.9551 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.01104, allocations: 11.98 kB / 0.9551 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01105, allocations: 3.938 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.01107, allocations: 4 kB / 0.9551 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.01107, allocations: 0 / 0.9551 GB, free: 7.152 MB / 0.8575 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 9.004e-05/0.01116, allocations: 113.8 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.01118, allocations: 7.953 kB / 0.9552 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.01132, allocations: 57.31 kB / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01132, allocations: 0 / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.01133, allocations: 3.938 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01133, allocations: 0 / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.01143, allocations: 105.2 kB / 0.9554 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.01143, allocations: 0 / 0.9554 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.01146, allocations: 4 kB / 0.9554 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01146, allocations: 4 kB / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.01147, allocations: 4 kB / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01147, allocations: 0 / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01147, allocations: 0 / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.842e-05/0.01157, allocations: 69.06 kB / 0.9554 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.01158, allocations: 12 kB / 0.9554 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.0116, allocations: 3.984 kB / 0.9555 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.302e-05/0.01161, allocations: 0 / 0.9555 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.01163, allocations: 0 / 0.9555 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.01164, allocations: 7.938 kB / 0.9555 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.01169, allocations: 75.28 kB / 0.9555 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01169, allocations: 0 / 0.9555 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002638/0.01195, allocations: 32.03 kB / 0.9556 GB, free: 6.594 MB / 0.8575 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.0003116/0.01226, allocations: 135 kB / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.01237, allocations: 16.17 kB / 0.9557 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01237, allocations: 0 / 0.9557 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.01239, allocations: 7.984 kB / 0.9557 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01262, allocations: 12.19 kB / 0.9557 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.01296, allocations: 108.8 kB / 0.9558 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.01303, allocations: 67.27 kB / 0.9559 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.01305, allocations: 7.938 kB / 0.9559 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.01308, allocations: 8.5 kB / 0.9559 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.01308, allocations: 0 / 0.9559 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of Templates: time 0.004116/0.0172, allocations: 0.9238 MB / 0.9568 GB, free: 5.277 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.454587135463953]