Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 105.3 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.758/1.758, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 78.2 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2723, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003078/0.2754, allocations: 1.343 MB / 0.9511 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2767, allocations: 0.7259 MB / 0.9518 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.2767, allocations: 4 kB / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.2767, allocations: 3.938 kB / 0.9518 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.2768, allocations: 3.984 kB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.2773, allocations: 84 kB / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.2774, allocations: 19.92 kB / 0.9519 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.84e-05/0.2774, allocations: 3.938 kB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.2775, allocations: 7.984 kB / 0.9519 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.066e-05/0.2775, allocations: 4 kB / 0.9519 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.2775, allocations: 0 / 0.9519 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.2779, allocations: 156.9 kB / 0.9521 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.278, allocations: 0 / 0.9521 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.278, allocations: 11.94 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2782, allocations: 72.17 kB / 0.9522 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2782, allocations: 4 kB / 0.9522 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2782, allocations: 0 / 0.9522 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.2782, allocations: 0 / 0.9522 GB, free: 6.758 MB / 0.7325 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.0004221/0.2786, allocations: 331.4 kB / 0.9525 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2787, allocations: 12.03 kB / 0.9525 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2787, allocations: 0.9375 kB / 0.9525 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2789, allocations: 164.3 kB / 0.9527 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2789, allocations: 8.375 kB / 0.9527 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.2789, allocations: 8.125 kB / 0.9527 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.279, allocations: 33.69 kB / 0.9527 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.279, allocations: 0 / 0.9527 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.279, allocations: 0 / 0.9527 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.279, allocations: 0 / 0.9527 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.2791, allocations: 19.92 kB / 0.9527 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.2793, allocations: 153.6 kB / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.596e-05/0.2794, allocations: 34.66 kB / 0.9529 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.449e-05/0.2794, allocations: 20.8 kB / 0.9529 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/0.2813, allocations: 0.6611 MB / 0.9536 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.2813, allocations: 34.56 kB / 0.9536 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.2813, allocations: 0 / 0.9536 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000171/0.2815, allocations: 53.53 kB / 0.9536 GB, free: 5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.2816, allocations: 55.41 kB / 0.9537 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.2817, allocations: 89.86 kB / 0.9538 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.2817, allocations: 25.7 kB / 0.9538 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.2817, allocations: 84.27 kB / 0.9539 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.2818, allocations: 11.91 kB / 0.9539 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.2818, allocations: 13.72 kB / 0.9539 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2819, allocations: 322.8 kB / 0.9542 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.282, allocations: 4 kB / 0.9542 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.282, allocations: 0 / 0.9542 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.282, allocations: 16.86 kB / 0.9542 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.282, allocations: 3.938 kB / 0.9542 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.349e-05/0.2821, allocations: 49.62 kB / 0.9543 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2822, allocations: 8 kB / 0.9543 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2822, allocations: 0 / 0.9543 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2822, allocations: 4 kB / 0.9543 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.2823, allocations: 7.984 kB / 0.9543 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2823, allocations: 3.984 kB / 0.9543 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.2823, allocations: 0 / 0.9543 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.2823, allocations: 0 / 0.9543 GB, free: 4.258 MB / 0.7325 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 7.992e-05/0.2824, allocations: 113.3 kB / 0.9544 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.2824, allocations: 3.938 kB / 0.9544 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.2826, allocations: 68.97 kB / 0.9545 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.2826, allocations: 0 / 0.9545 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2826, allocations: 0 / 0.9545 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2826, allocations: 4 kB / 0.9545 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.2827, allocations: 153.6 kB / 0.9546 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2828, allocations: 0 / 0.9546 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.2828, allocations: 12 kB / 0.9547 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2828, allocations: 3.984 kB / 0.9547 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2828, allocations: 0 / 0.9547 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2828, allocations: 0 / 0.9547 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2828, allocations: 4 kB / 0.9547 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.216e-05/0.2829, allocations: 73.38 kB / 0.9547 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.283, allocations: 85.05 kB / 0.9548 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.283, allocations: 0 / 0.9548 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.283, allocations: 0 / 0.9548 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.283, allocations: 4.031 kB / 0.9548 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.283, allocations: 4 kB / 0.9548 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.2831, allocations: 87.22 kB / 0.9549 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2831, allocations: 0 / 0.9549 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002304/0.2833, allocations: 31.98 kB / 0.9549 GB, free: 3.52 MB / 0.7325 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.0002808/0.2836, allocations: 123.2 kB / 0.9551 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.2837, allocations: 24.08 kB / 0.9551 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2837, allocations: 0 / 0.9551 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.2837, allocations: 7.938 kB / 0.9551 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.2839, allocations: 7.938 kB / 0.9551 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.2843, allocations: 147.7 kB / 0.9552 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.2845, allocations: 0.6768 MB / 0.9559 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.2846, allocations: 7.438 kB / 0.9559 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.2846, allocations: 0 / 0.9559 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of Templates: time 0.002811/0.2874, allocations: 0.9073 MB / 0.9568 GB, free: 1.562 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches