Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008536/0.0008536, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001074/0.001074, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.000309, allocations: 12 kB / 0.8722 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5457, allocations: 153.8 MB / 1.022 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001246/0.547, allocations: 1.012 MB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000995/0.548, allocations: 0.6872 MB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.5481, allocations: 4 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.5481, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.5482, allocations: 3.938 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.5484, allocations: 71.81 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.421e-05/0.5485, allocations: 19.86 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.5485, allocations: 8 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.5486, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.5486, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.5486, allocations: 4 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.5489, allocations: 155.8 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.549, allocations: 7.984 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.549, allocations: 25.7 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.5491, allocations: 66.02 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5491, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.562e-06/0.5491, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.5491, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 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.0002867/0.5494, allocations: 335.3 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.5495, allocations: 8.562 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.5495, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.5496, allocations: 163.1 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.5496, allocations: 3.953 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.5496, allocations: 3.984 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.5497, allocations: 49.56 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.5498, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.5498, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5498, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.5498, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.55, allocations: 153.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.5501, allocations: 34.61 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.5501, allocations: 16.88 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002287/0.5524, allocations: 1.042 MB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.5524, allocations: 30.56 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5524, allocations: 3.938 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001316/0.5526, allocations: 45.69 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.5526, allocations: 55.41 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.5527, allocations: 101.8 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.5527, allocations: 25.7 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.5527, allocations: 84.14 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.5528, allocations: 7.812 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.5528, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5529, allocations: 314.8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.5529, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.5529, allocations: 11.92 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.5529, allocations: 8.125 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.553, allocations: 4 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.785e-05/0.553, allocations: 41.64 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.553, allocations: 8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.5531, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.5531, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.5531, allocations: 4 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5531, allocations: 3.984 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.5531, allocations: 7.938 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.5532, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/0.5532, allocations: 109.8 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.5533, allocations: 3.953 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.5534, allocations: 57.44 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.5534, allocations: 4 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5534, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5534, allocations: 7.969 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.5535, allocations: 157.6 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5535, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.5536, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5536, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.5536, allocations: 3.953 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5536, allocations: 3.938 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5536, allocations: 4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.227e-05/0.5537, allocations: 77.09 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.5537, allocations: 77.11 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.5537, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.5538, allocations: 3.953 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.5538, allocations: 11.98 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.5538, allocations: 4 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.099e-05/0.5538, allocations: 75.28 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5538, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002351/0.5541, allocations: 32 kB / 1.028 GB, free: 10.47 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002278/0.5543, allocations: 132.8 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.5544, allocations: 15.98 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5544, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.5544, allocations: 11.94 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.5546, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.5548, allocations: 114.8 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.555, allocations: 0.677 MB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.5551, allocations: 4 kB / 1.028 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.5551, allocations: 11.44 kB / 1.028 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5551, allocations: 0 / 1.028 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of Templates: time 0.002842/0.5579, allocations: 0.8742 MB / 1.029 GB, free: 8.586 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches