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.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 11.1.0-maint.11.x/package.mo", uses=false)
Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001651/0.001651, allocations: 104.6 kB / 15.99 MB, free: 6.344 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.001546/0.001546, allocations: 201.3 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.446/1.446, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB
Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 64.28 kB / 0.9087 GB, free: 14.16 MB / 0.6856 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003362/0.3288, allocations: 1.353 MB / 1.065 GB, free: 13.68 MB / 0.8419 GB
Notification: Performance of NFInst.instExpressions: time 0.001364/0.3302, allocations: 0.7407 MB / 1.066 GB, free: 12.94 MB / 0.8419 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.734e-05/0.3302, allocations: 0 / 1.066 GB, free: 12.94 MB / 0.8419 GB
Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.3303, allocations: 0 / 1.066 GB, free: 12.94 MB / 0.8419 GB
Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.3303, allocations: 7.922 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.3307, allocations: 76.06 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB
Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.3308, allocations: 23.86 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.3309, allocations: 0 / 1.066 GB, free: 12.83 MB / 0.8419 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.3309, allocations: 8 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.331, allocations: 11.92 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB
Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.331, allocations: 4 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.3313, allocations: 149 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB
Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.3314, allocations: 7.922 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB
Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.3314, allocations: 4 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3316, allocations: 72.12 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB
Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3316, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8419 GB
Notification: Performance of FrontEnd: time 1.813e-06/0.3316, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8419 GB
Notification: Performance of Transformations before backend: time 6.061e-06/0.3316, allocations: 4 kB / 1.067 GB, free: 12.58 MB / 0.8419 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.000409/0.332, allocations: 337.2 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB
Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3321, allocations: 8.625 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.3321, allocations: 0.9375 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3322, allocations: 164.3 kB / 1.067 GB, free: 12 MB / 0.8419 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3323, allocations: 4.375 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.3323, allocations: 384 / 1.067 GB, free: 11.99 MB / 0.8419 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.3324, allocations: 49.92 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3324, allocations: 4 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3324, allocations: 0 / 1.067 GB, free: 11.93 MB / 0.8419 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3324, allocations: 0 / 1.067 GB, free: 11.93 MB / 0.8419 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.3325, allocations: 11.98 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.3327, allocations: 161.6 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.3328, allocations: 30.58 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.3328, allocations: 12.86 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001835/0.3347, allocations: 0.6572 MB / 1.068 GB, free: 10.93 MB / 0.8419 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.3347, allocations: 38.5 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB
Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.3347, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB
Notification: Performance of matching and sorting (n=3): time 0.0001692/0.3349, allocations: 45.69 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3349, allocations: 55.41 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.335, allocations: 93.86 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB
Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3351, allocations: 25.7 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB
Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.3351, allocations: 84.14 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB
Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.3351, allocations: 7.891 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.3352, allocations: 21.84 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB
Notification: Performance of setup shared object (initialization): time 0.000139/0.3353, allocations: 310.8 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.3354, allocations: 7.938 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.3354, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8419 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.3354, allocations: 20.84 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3354, allocations: 3.938 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 7.6e-05/0.3355, allocations: 41.7 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB
Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3355, allocations: 11.92 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3355, allocations: 4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3356, allocations: 4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.249e-05/0.3356, allocations: 4 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3356, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.3357, allocations: 7.844 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3357, allocations: 3.938 kB / 1.069 GB, free: 10.08 MB / 0.8419 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 8.69e-05/0.3358, allocations: 115.6 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.3358, allocations: 3.938 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.3359, allocations: 53.17 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3359, allocations: 4.375 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3359, allocations: 8 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3359, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8419 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.3361, allocations: 149.7 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3361, allocations: 3.984 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.3361, allocations: 4 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.3361, allocations: 7.922 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.3361, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3361, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3361, allocations: 3.938 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.3363, allocations: 81.12 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.3363, allocations: 84.98 kB / 1.069 GB, free: 9.469 MB / 0.8419 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.3363, allocations: 0 / 1.069 GB, free: 9.469 MB / 0.8419 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.274e-05/0.3364, allocations: 0 / 1.069 GB, free: 9.469 MB / 0.8419 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.3364, allocations: 3.984 kB / 1.069 GB, free: 9.465 MB / 0.8419 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3364, allocations: 4 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB
Notification: Performance of sorting global known variables: time 3.743e-05/0.3364, allocations: 75.28 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB
Notification: Performance of sort global known variables: time 1.3e-07/0.3364, allocations: 4.094 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB
Notification: Performance of remove unused functions: time 0.0002299/0.3367, allocations: 28 kB / 1.069 GB, free: 9.355 MB / 0.8419 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.0002722/0.337, allocations: 127.2 kB / 1.069 GB, free: 9.219 MB / 0.8419 GB
Notification: Performance of simCode: created initialization part: time 0.0001004/0.3371, allocations: 23.86 kB / 1.069 GB, free: 9.195 MB / 0.8419 GB
Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3371, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8419 GB
Notification: Performance of simCode: created simulation system equations: time 1.619e-05/0.3371, allocations: 12 kB / 1.069 GB, free: 9.184 MB / 0.8419 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.3373, allocations: 9.484 kB / 1.069 GB, free: 9.176 MB / 0.8419 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.3376, allocations: 139.6 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3379, allocations: 0.6806 MB / 1.07 GB, free: 8.301 MB / 0.8419 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.3379, allocations: 7.438 kB / 1.07 GB, free: 8.293 MB / 0.8419 GB
Notification: Performance of SimCode: time 2.11e-07/0.3379, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8419 GB
Notification: Performance of Templates: time 0.002828/0.3408, allocations: 0.918 MB / 1.071 GB, free: 7.379 MB / 0.8419 GB
make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile
(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)
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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001)
Reference file matches