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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.789 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.898/2.898, allocations: 475.9 MB / 0.7699 GB, free: 4.82 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 66 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4777, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002973/0.4807, allocations: 1.351 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1977/0.6784, allocations: 129.8 MB / 1.411 GB, free: 8.203 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.6784, allocations: 0 / 1.411 GB, free: 8.203 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.6785, allocations: 0 / 1.411 GB, free: 8.203 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.6787, allocations: 43.86 kB / 1.411 GB, free: 8.16 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.68, allocations: 358.5 kB / 1.412 GB, free: 7.809 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.6801, allocations: 59.83 kB / 1.412 GB, free: 7.75 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.6802, allocations: 11.98 kB / 1.412 GB, free: 7.738 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.6802, allocations: 31.91 kB / 1.412 GB, free: 7.707 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.6804, allocations: 63.86 kB / 1.412 GB, free: 7.645 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.6804, allocations: 4 kB / 1.412 GB, free: 7.641 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007529/0.6811, allocations: 351.2 kB / 1.412 GB, free: 7.297 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.6812, allocations: 35.88 kB / 1.412 GB, free: 7.262 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.6813, allocations: 19.94 kB / 1.412 GB, free: 7.242 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.6818, allocations: 271.2 kB / 1.412 GB, free: 6.977 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.6818, allocations: 4 kB / 1.412 GB, free: 6.973 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6818, allocations: 0 / 1.412 GB, free: 6.973 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.6818, allocations: 0 / 1.412 GB, free: 6.973 MB / 1.107 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.000506/0.6823, allocations: 329.6 kB / 1.413 GB, free: 6.621 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6823, allocations: 12.03 kB / 1.413 GB, free: 6.609 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.6824, allocations: 8.891 kB / 1.413 GB, free: 6.602 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.6825, allocations: 110.4 kB / 1.413 GB, free: 6.469 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.6825, allocations: 11.92 kB / 1.413 GB, free: 6.457 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.6825, allocations: 0 / 1.413 GB, free: 6.457 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.6827, allocations: 96.89 kB / 1.413 GB, free: 6.359 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6827, allocations: 0 / 1.413 GB, free: 6.359 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.6828, allocations: 0 / 1.413 GB, free: 6.359 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.6828, allocations: 15.98 kB / 1.413 GB, free: 6.344 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.6829, allocations: 75.95 kB / 1.413 GB, free: 6.27 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.6835, allocations: 288.3 kB / 1.413 GB, free: 5.957 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.6836, allocations: 98.48 kB / 1.413 GB, free: 5.852 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/0.6837, allocations: 48.89 kB / 1.413 GB, free: 5.801 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.6845, allocations: 83.89 kB / 1.413 GB, free: 5.719 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.6845, allocations: 38.5 kB / 1.414 GB, free: 5.672 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.6845, allocations: 0 / 1.414 GB, free: 5.672 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0003217/0.6848, allocations: 129.6 kB / 1.414 GB, free: 5.539 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.6849, allocations: 51.41 kB / 1.414 GB, free: 5.477 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.685, allocations: 117.8 kB / 1.414 GB, free: 5.352 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.685, allocations: 25.7 kB / 1.414 GB, free: 5.32 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.6851, allocations: 104.2 kB / 1.414 GB, free: 5.215 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.6851, allocations: 39.69 kB / 1.414 GB, free: 5.176 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.6852, allocations: 33.7 kB / 1.414 GB, free: 5.137 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6853, allocations: 314.8 kB / 1.414 GB, free: 4.82 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.6854, allocations: 35.91 kB / 1.414 GB, free: 4.785 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.6855, allocations: 73.14 kB / 1.414 GB, free: 4.695 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.6857, allocations: 124.9 kB / 1.415 GB, free: 4.555 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6857, allocations: 0 / 1.415 GB, free: 4.555 MB / 1.107 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002218/0.6859, allocations: 133.9 kB / 1.415 GB, free: 4.418 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6859, allocations: 4 kB / 1.415 GB, free: 4.414 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.6859, allocations: 4 kB / 1.415 GB, free: 4.41 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.6859, allocations: 8.141 kB / 1.415 GB, free: 4.402 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.686, allocations: 28 kB / 1.415 GB, free: 4.375 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.686, allocations: 7.922 kB / 1.415 GB, free: 4.367 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.6861, allocations: 7.953 kB / 1.415 GB, free: 4.359 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.6861, allocations: 7.938 kB / 1.415 GB, free: 4.352 MB / 1.107 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.0001157/0.6862, allocations: 129.7 kB / 1.415 GB, free: 4.215 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.6862, allocations: 7.953 kB / 1.415 GB, free: 4.207 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.6865, allocations: 118.1 kB / 1.415 GB, free: 4.082 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.6865, allocations: 8 kB / 1.415 GB, free: 4.074 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6865, allocations: 7.875 kB / 1.415 GB, free: 4.066 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6865, allocations: 0 / 1.415 GB, free: 4.066 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.6867, allocations: 125.3 kB / 1.415 GB, free: 3.914 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6867, allocations: 0 / 1.415 GB, free: 3.914 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.6868, allocations: 19.98 kB / 1.415 GB, free: 3.895 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6868, allocations: 0 / 1.415 GB, free: 3.895 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.6868, allocations: 256 / 1.415 GB, free: 3.895 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.6868, allocations: 4 kB / 1.415 GB, free: 3.891 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6868, allocations: 4 kB / 1.415 GB, free: 3.887 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.687, allocations: 207.4 kB / 1.415 GB, free: 3.668 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.687, allocations: 19.88 kB / 1.415 GB, free: 3.648 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.6871, allocations: 7.938 kB / 1.415 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.6871, allocations: 4 kB / 1.415 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.6871, allocations: 3.984 kB / 1.415 GB, free: 3.633 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.6871, allocations: 7.938 kB / 1.415 GB, free: 3.625 MB / 1.107 GB Notification: Performance of sorting global known variables: time 7.581e-05/0.6872, allocations: 91.27 kB / 1.415 GB, free: 3.535 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.6872, allocations: 0 / 1.415 GB, free: 3.535 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003632/0.6876, allocations: 83.73 kB / 1.416 GB, free: 3.453 MB / 1.107 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.0003682/0.6879, allocations: 190.8 kB / 1.416 GB, free: 3.258 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.6881, allocations: 79.89 kB / 1.416 GB, free: 3.18 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6881, allocations: 0 / 1.416 GB, free: 3.18 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.6882, allocations: 35.92 kB / 1.416 GB, free: 3.145 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.6885, allocations: 16.23 kB / 1.416 GB, free: 3.129 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.6889, allocations: 174.9 kB / 1.416 GB, free: 2.934 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.333e-05/0.689, allocations: 71.34 kB / 1.416 GB, free: 2.844 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.6891, allocations: 56.91 kB / 1.416 GB, free: 2.789 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.6892, allocations: 15.44 kB / 1.416 GB, free: 2.773 MB / 1.107 GB Notification: Performance of SimCode: time 3.11e-07/0.6892, allocations: 0 / 1.416 GB, free: 2.773 MB / 1.107 GB Notification: Performance of Templates: time 0.005648/0.6948, allocations: 1.983 MB / 1.418 GB, free: 0.8555 MB / 1.107 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: 9.890787163749337]