Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 202.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.726/2.726, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity")
translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6991, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002617/0.7017, allocations: 1.35 MB / 1.275 GB, free: 3.18 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.1658/0.8675, allocations: 148.3 MB / 1.42 GB, free: 14.27 MB / 1.123 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.8676, allocations: 8 kB / 1.42 GB, free: 14.26 MB / 1.123 GB
Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.8676, allocations: 7.922 kB / 1.42 GB, free: 14.25 MB / 1.123 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.8678, allocations: 35.88 kB / 1.42 GB, free: 14.21 MB / 1.123 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.8689, allocations: 358.6 kB / 1.421 GB, free: 13.86 MB / 1.123 GB
Notification: Performance of NFFlatten.flatten: time 0.0001258/0.869, allocations: 71.75 kB / 1.421 GB, free: 13.79 MB / 1.123 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.8691, allocations: 8 kB / 1.421 GB, free: 13.79 MB / 1.123 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.8691, allocations: 31.84 kB / 1.421 GB, free: 13.75 MB / 1.123 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.8692, allocations: 63.86 kB / 1.421 GB, free: 13.69 MB / 1.123 GB
Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.8692, allocations: 4 kB / 1.421 GB, free: 13.69 MB / 1.123 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008298/0.8701, allocations: 423 kB / 1.421 GB, free: 13.27 MB / 1.123 GB
Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.8701, allocations: 23.97 kB / 1.421 GB, free: 13.25 MB / 1.123 GB
Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.8702, allocations: 31.86 kB / 1.421 GB, free: 13.22 MB / 1.123 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.8707, allocations: 273.9 kB / 1.422 GB, free: 12.96 MB / 1.123 GB
Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.8707, allocations: 0 / 1.422 GB, free: 12.96 MB / 1.123 GB
Notification: Performance of FrontEnd: time 1.433e-06/0.8707, allocations: 4 kB / 1.422 GB, free: 12.95 MB / 1.123 GB
Notification: Performance of Transformations before backend: time 5.169e-06/0.8707, allocations: 4 kB / 1.422 GB, free: 12.95 MB / 1.123 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0004779/0.8712, allocations: 394.8 kB / 1.422 GB, free: 12.52 MB / 1.123 GB
Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.8712, allocations: 15.97 kB / 1.422 GB, free: 12.5 MB / 1.123 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.8713, allocations: 0.9375 kB / 1.422 GB, free: 12.5 MB / 1.123 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.8714, allocations: 172.3 kB / 1.422 GB, free: 12.29 MB / 1.123 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.8714, allocations: 3.938 kB / 1.422 GB, free: 12.29 MB / 1.123 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.8714, allocations: 7.984 kB / 1.422 GB, free: 12.28 MB / 1.123 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.8716, allocations: 89.66 kB / 1.422 GB, free: 12.19 MB / 1.123 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.8716, allocations: 15.92 kB / 1.422 GB, free: 12.17 MB / 1.123 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.8716, allocations: 0 / 1.422 GB, free: 12.17 MB / 1.123 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.8716, allocations: 8 kB / 1.422 GB, free: 12.16 MB / 1.123 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.8718, allocations: 75.95 kB / 1.422 GB, free: 12.09 MB / 1.123 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.8723, allocations: 340.7 kB / 1.423 GB, free: 11.71 MB / 1.123 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.8724, allocations: 98.56 kB / 1.423 GB, free: 11.6 MB / 1.123 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.477e-05/0.8725, allocations: 48.89 kB / 1.423 GB, free: 11.55 MB / 1.123 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0009134/0.8734, allocations: 469.4 kB / 1.423 GB, free: 11 MB / 1.123 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.8735, allocations: 30.56 kB / 1.423 GB, free: 10.96 MB / 1.123 GB
Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.8735, allocations: 4 kB / 1.423 GB, free: 10.96 MB / 1.123 GB
Notification: Performance of matching and sorting (n=11): time 0.0002905/0.8737, allocations: 125.9 kB / 1.423 GB, free: 10.83 MB / 1.123 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.8738, allocations: 59.34 kB / 1.423 GB, free: 10.76 MB / 1.123 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.8739, allocations: 113.8 kB / 1.424 GB, free: 10.64 MB / 1.123 GB
Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.8739, allocations: 25.7 kB / 1.424 GB, free: 10.61 MB / 1.123 GB
Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.874, allocations: 104.3 kB / 1.424 GB, free: 10.5 MB / 1.123 GB
Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.874, allocations: 31.7 kB / 1.424 GB, free: 10.47 MB / 1.123 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.8741, allocations: 37.66 kB / 1.424 GB, free: 10.43 MB / 1.123 GB
Notification: Performance of setup shared object (initialization): time 0.0001401/0.8742, allocations: 326.8 kB / 1.424 GB, free: 10.1 MB / 1.123 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/0.8742, allocations: 28.23 kB / 1.424 GB, free: 10.07 MB / 1.123 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.21e-05/0.8743, allocations: 81.06 kB / 1.424 GB, free: 9.973 MB / 1.123 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.8745, allocations: 113.1 kB / 1.424 GB, free: 9.844 MB / 1.123 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8745, allocations: 3.938 kB / 1.424 GB, free: 9.84 MB / 1.123 GB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002198/0.8747, allocations: 137.5 kB / 1.424 GB, free: 9.699 MB / 1.123 GB
Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.8747, allocations: 4 kB / 1.424 GB, free: 9.695 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8747, allocations: 0 / 1.424 GB, free: 9.695 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8748, allocations: 4 kB / 1.424 GB, free: 9.691 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.8749, allocations: 31.86 kB / 1.424 GB, free: 9.66 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.8749, allocations: 4 kB / 1.424 GB, free: 9.656 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.8749, allocations: 16.05 kB / 1.424 GB, free: 9.641 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.875, allocations: 8 kB / 1.424 GB, free: 9.633 MB / 1.123 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (16):
 * Single equations (assignments): 16
 * 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.509e-05/0.875, allocations: 121.8 kB / 1.425 GB, free: 9.504 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.8751, allocations: 7.953 kB / 1.425 GB, free: 9.496 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.8753, allocations: 130 kB / 1.425 GB, free: 9.367 MB / 1.123 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.8753, allocations: 3.938 kB / 1.425 GB, free: 9.363 MB / 1.123 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8753, allocations: 4 kB / 1.425 GB, free: 9.359 MB / 1.123 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.8753, allocations: 4 kB / 1.425 GB, free: 9.355 MB / 1.123 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.8755, allocations: 181.6 kB / 1.425 GB, free: 9.129 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8755, allocations: 0 / 1.425 GB, free: 9.129 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.8756, allocations: 19.98 kB / 1.425 GB, free: 9.109 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.8756, allocations: 3.938 kB / 1.425 GB, free: 9.105 MB / 1.123 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.8756, allocations: 4 kB / 1.425 GB, free: 9.102 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.8756, allocations: 7.938 kB / 1.425 GB, free: 9.094 MB / 1.123 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8756, allocations: 0 / 1.425 GB, free: 9.094 MB / 1.123 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.8758, allocations: 191.5 kB / 1.425 GB, free: 8.891 MB / 1.123 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.8759, allocations: 101 kB / 1.425 GB, free: 8.773 MB / 1.123 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.8759, allocations: 0 / 1.425 GB, free: 8.773 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.876, allocations: 3.938 kB / 1.425 GB, free: 8.77 MB / 1.123 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.876, allocations: 7.984 kB / 1.425 GB, free: 8.762 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.876, allocations: 8 kB / 1.425 GB, free: 8.754 MB / 1.123 GB
Notification: Performance of sorting global known variables: time 5.776e-05/0.8761, allocations: 91.27 kB / 1.425 GB, free: 8.664 MB / 1.123 GB
Notification: Performance of sort global known variables: time 1e-07/0.8761, allocations: 0 / 1.425 GB, free: 8.664 MB / 1.123 GB
Notification: Performance of remove unused functions: time 0.0003651/0.8764, allocations: 79.73 kB / 1.425 GB, free: 8.586 MB / 1.123 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 (11):
 * Single equations (assignments): 11
 * 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.0003454/0.8768, allocations: 191.4 kB / 1.426 GB, free: 8.387 MB / 1.123 GB
Notification: Performance of simCode: created initialization part: time 0.0001809/0.8769, allocations: 87.83 kB / 1.426 GB, free: 8.301 MB / 1.123 GB
Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.877, allocations: 0 / 1.426 GB, free: 8.301 MB / 1.123 GB
Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.877, allocations: 32.23 kB / 1.426 GB, free: 8.27 MB / 1.123 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.8773, allocations: 26.56 kB / 1.426 GB, free: 8.246 MB / 1.123 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.8777, allocations: 184.1 kB / 1.426 GB, free: 8.043 MB / 1.123 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.878, allocations: 0.6924 MB / 1.427 GB, free: 7.324 MB / 1.123 GB
Notification: Performance of simCode: alias equations: time 0.0001281/0.8781, allocations: 60.94 kB / 1.427 GB, free: 7.266 MB / 1.123 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.8781, allocations: 11.44 kB / 1.427 GB, free: 7.254 MB / 1.123 GB
Notification: Performance of SimCode: time 3.1e-07/0.8781, allocations: 0 / 1.427 GB, free: 7.254 MB / 1.123 GB
Notification: Performance of Templates: time 0.005385/0.8835, allocations: 1.954 MB / 1.429 GB, free: 5.355 MB / 1.123 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity  -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.419532326050103]