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.001452/0.001452, allocations: 110 kB / 18.93 MB, free: 2.945 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.001451/0.001451, allocations: 192.2 kB / 22.23 MB, free: 5.16 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.658/1.658, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.7 MB / 0.7646 GB, free: 9.836 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002026/0.002026, allocations: 67.89 kB / 1.11 GB, free: 6.25 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 168.8 MB / 1.274 GB, free: 4.195 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002941/1.101, allocations: 1.343 MB / 1.276 GB, free: 2.844 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.2138/1.315, allocations: 148.3 MB / 1.421 GB, free: 13.93 MB / 1.123 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/1.315, allocations: 0 / 1.421 GB, free: 13.93 MB / 1.123 GB
Notification: Performance of NFTyping.typeComponents: time 5.923e-05/1.315, allocations: 7.922 kB / 1.421 GB, free: 13.92 MB / 1.123 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002172/1.316, allocations: 39.88 kB / 1.421 GB, free: 13.88 MB / 1.123 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001542/1.317, allocations: 370.5 kB / 1.421 GB, free: 13.52 MB / 1.123 GB
Notification: Performance of NFFlatten.flatten: time 0.0001583/1.317, allocations: 63.83 kB / 1.421 GB, free: 13.46 MB / 1.123 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/1.317, allocations: 4 kB / 1.421 GB, free: 13.45 MB / 1.123 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/1.317, allocations: 35.89 kB / 1.421 GB, free: 13.42 MB / 1.123 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/1.318, allocations: 59.88 kB / 1.421 GB, free: 13.36 MB / 1.123 GB
Notification: Performance of NFPackage.collectConstants: time 1.394e-05/1.318, allocations: 0 / 1.421 GB, free: 13.36 MB / 1.123 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000853/1.318, allocations: 435 kB / 1.422 GB, free: 12.93 MB / 1.123 GB
Notification: Performance of NFScalarize.scalarize: time 7.003e-05/1.318, allocations: 27.95 kB / 1.422 GB, free: 12.91 MB / 1.123 GB
Notification: Performance of NFVerifyModel.verify: time 5.094e-05/1.319, allocations: 23.88 kB / 1.422 GB, free: 12.88 MB / 1.123 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004732/1.319, allocations: 273.6 kB / 1.422 GB, free: 12.62 MB / 1.123 GB
Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.319, allocations: 0 / 1.422 GB, free: 12.62 MB / 1.123 GB
Notification: Performance of FrontEnd: time 1.703e-06/1.319, allocations: 0 / 1.422 GB, free: 12.62 MB / 1.123 GB
Notification: Performance of Transformations before backend: time 6.152e-06/1.319, allocations: 0 / 1.422 GB, free: 12.62 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.0004976/1.32, allocations: 337.7 kB / 1.422 GB, free: 12.26 MB / 1.123 GB
Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.32, allocations: 15.98 kB / 1.422 GB, free: 12.25 MB / 1.123 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/1.32, allocations: 4.891 kB / 1.422 GB, free: 12.24 MB / 1.123 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/1.32, allocations: 114.4 kB / 1.422 GB, free: 12.11 MB / 1.123 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/1.32, allocations: 3.938 kB / 1.422 GB, free: 12.1 MB / 1.123 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/1.32, allocations: 11.94 kB / 1.422 GB, free: 12.09 MB / 1.123 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/1.32, allocations: 89.66 kB / 1.422 GB, free: 12 MB / 1.123 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.32, allocations: 0 / 1.422 GB, free: 12 MB / 1.123 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.32, allocations: 0 / 1.422 GB, free: 12 MB / 1.123 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/1.32, allocations: 11.98 kB / 1.422 GB, free: 11.98 MB / 1.123 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/1.32, allocations: 83.95 kB / 1.422 GB, free: 11.9 MB / 1.123 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/1.321, allocations: 311.8 kB / 1.423 GB, free: 11.55 MB / 1.123 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00019/1.321, allocations: 98.47 kB / 1.423 GB, free: 11.45 MB / 1.123 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/1.321, allocations: 40.91 kB / 1.423 GB, free: 11.41 MB / 1.123 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007423/1.322, allocations: 91.89 kB / 1.423 GB, free: 11.32 MB / 1.123 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/1.322, allocations: 34.56 kB / 1.423 GB, free: 11.27 MB / 1.123 GB
Notification: Performance of pre-optimization done (n=11): time 1.232e-06/1.322, allocations: 7.938 kB / 1.423 GB, free: 11.27 MB / 1.123 GB
Notification: Performance of matching and sorting (n=11): time 0.0002991/1.322, allocations: 122 kB / 1.423 GB, free: 11.14 MB / 1.123 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.322, allocations: 55.34 kB / 1.423 GB, free: 11.07 MB / 1.123 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.322, allocations: 117.8 kB / 1.423 GB, free: 10.95 MB / 1.123 GB
Notification: Performance of collectPreVariables (initialization): time 2.041e-05/1.322, allocations: 29.7 kB / 1.423 GB, free: 10.91 MB / 1.123 GB
Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/1.322, allocations: 104.3 kB / 1.423 GB, free: 10.81 MB / 1.123 GB
Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/1.322, allocations: 39.69 kB / 1.423 GB, free: 10.77 MB / 1.123 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/1.322, allocations: 33.67 kB / 1.424 GB, free: 10.73 MB / 1.123 GB
Notification: Performance of setup shared object (initialization): time 0.0001467/1.323, allocations: 322.8 kB / 1.424 GB, free: 10.41 MB / 1.123 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/1.323, allocations: 27.98 kB / 1.424 GB, free: 10.38 MB / 1.123 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.996e-05/1.323, allocations: 79.88 kB / 1.424 GB, free: 10.29 MB / 1.123 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/1.323, allocations: 109.1 kB / 1.424 GB, free: 10.16 MB / 1.123 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.323, allocations: 4 kB / 1.424 GB, free: 10.16 MB / 1.123 GB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002283/1.323, allocations: 141.5 kB / 1.424 GB, free: 10.01 MB / 1.123 GB
Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.323, allocations: 4 kB / 1.424 GB, free: 10.01 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.323, allocations: 3.938 kB / 1.424 GB, free: 10 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.323, allocations: 4 kB / 1.424 GB, free: 10 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.323, allocations: 31.92 kB / 1.424 GB, free: 9.969 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/1.323, allocations: 4 kB / 1.424 GB, free: 9.965 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/1.323, allocations: 7.953 kB / 1.424 GB, free: 9.957 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/1.323, allocations: 4 kB / 1.424 GB, free: 9.953 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 0.0001195/1.323, allocations: 136.1 kB / 1.424 GB, free: 9.812 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/1.323, allocations: 7.953 kB / 1.424 GB, free: 9.805 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/1.324, allocations: 126 kB / 1.424 GB, free: 9.672 MB / 1.123 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/1.324, allocations: 3.938 kB / 1.424 GB, free: 9.668 MB / 1.123 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.324, allocations: 0 / 1.424 GB, free: 9.668 MB / 1.123 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.324, allocations: 4 kB / 1.424 GB, free: 9.664 MB / 1.123 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/1.324, allocations: 148.7 kB / 1.425 GB, free: 9.477 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.324, allocations: 4 kB / 1.425 GB, free: 9.473 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/1.324, allocations: 23.92 kB / 1.425 GB, free: 9.449 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.324, allocations: 0 / 1.425 GB, free: 9.449 MB / 1.123 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.324, allocations: 4 kB / 1.425 GB, free: 9.445 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.324, allocations: 7.938 kB / 1.425 GB, free: 9.438 MB / 1.123 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.324, allocations: 0 / 1.425 GB, free: 9.438 MB / 1.123 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/1.324, allocations: 195.5 kB / 1.425 GB, free: 9.23 MB / 1.123 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/1.324, allocations: 11.89 kB / 1.425 GB, free: 9.219 MB / 1.123 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/1.324, allocations: 12.22 kB / 1.425 GB, free: 9.207 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/1.324, allocations: 11.94 kB / 1.425 GB, free: 9.195 MB / 1.123 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/1.324, allocations: 7.984 kB / 1.425 GB, free: 9.188 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/1.324, allocations: 11.94 kB / 1.425 GB, free: 9.176 MB / 1.123 GB
Notification: Performance of sorting global known variables: time 6.121e-05/1.324, allocations: 83.28 kB / 1.425 GB, free: 9.094 MB / 1.123 GB
Notification: Performance of sort global known variables: time 6e-08/1.324, allocations: 0 / 1.425 GB, free: 9.094 MB / 1.123 GB
Notification: Performance of remove unused functions: time 0.0003739/1.325, allocations: 83.67 kB / 1.425 GB, free: 9.012 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.000368/1.325, allocations: 182.9 kB / 1.425 GB, free: 8.824 MB / 1.123 GB
Notification: Performance of simCode: created initialization part: time 0.0001995/1.325, allocations: 83.83 kB / 1.425 GB, free: 8.742 MB / 1.123 GB
Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.325, allocations: 0 / 1.425 GB, free: 8.742 MB / 1.123 GB
Notification: Performance of simCode: created simulation system equations: time 5.924e-05/1.325, allocations: 35.92 kB / 1.425 GB, free: 8.707 MB / 1.123 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/1.326, allocations: 16.3 kB / 1.425 GB, free: 8.691 MB / 1.123 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/1.326, allocations: 174.8 kB / 1.426 GB, free: 8.496 MB / 1.123 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/1.327, allocations: 0.6924 MB / 1.426 GB, free: 7.777 MB / 1.123 GB
Notification: Performance of simCode: alias equations: time 0.000128/1.327, allocations: 56.89 kB / 1.426 GB, free: 7.719 MB / 1.123 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/1.327, allocations: 15.44 kB / 1.426 GB, free: 7.703 MB / 1.123 GB
Notification: Performance of SimCode: time 3e-07/1.327, allocations: 0 / 1.426 GB, free: 7.703 MB / 1.123 GB
Notification: Performance of Templates: time 0.006254/1.333, allocations: 1.999 MB / 1.428 GB, free: 5.758 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  -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.062010243535042]