Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00161/0.00161, allocations: 112.6 kB / 19.7 MB, free: 2.25 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.002149/0.002149, allocations: 213.1 kB / 23 MB, free: 5.113 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.17/3.17, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002014/0.002014, allocations: 66.55 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4032, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002637/0.4058, allocations: 1.367 MB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1914/0.5972, allocations: 151.2 MB / 1.503 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.5973, allocations: 0 / 1.503 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.5973, allocations: 3.984 kB / 1.503 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.5975, allocations: 39.88 kB / 1.503 GB, free: 14.82 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.5988, allocations: 370.5 kB / 1.503 GB, free: 14.45 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.5989, allocations: 67.77 kB / 1.504 GB, free: 14.39 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.599, allocations: 0 / 1.504 GB, free: 14.39 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.599, allocations: 35.95 kB / 1.504 GB, free: 14.35 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.5991, allocations: 59.81 kB / 1.504 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.5992, allocations: 4 kB / 1.504 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.6, allocations: 443.1 kB / 1.504 GB, free: 13.86 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.6, allocations: 27.91 kB / 1.504 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.6001, allocations: 23.92 kB / 1.504 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.6006, allocations: 279.1 kB / 1.504 GB, free: 13.53 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6006, allocations: 0 / 1.504 GB, free: 13.53 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6006, allocations: 4 kB / 1.504 GB, free: 13.53 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6006, allocations: 0 / 1.504 GB, free: 13.53 MB / 1.201 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.0004598/0.601, allocations: 325.7 kB / 1.505 GB, free: 13.18 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.6011, allocations: 12.03 kB / 1.505 GB, free: 13.17 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.6011, allocations: 8.891 kB / 1.505 GB, free: 13.16 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.6012, allocations: 113.6 kB / 1.505 GB, free: 13.02 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.6012, allocations: 4 kB / 1.505 GB, free: 13.02 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.6012, allocations: 0 / 1.505 GB, free: 13.02 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.6014, allocations: 97.64 kB / 1.505 GB, free: 12.92 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.6014, allocations: 0 / 1.505 GB, free: 12.92 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.6015, allocations: 0 / 1.505 GB, free: 12.92 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.6015, allocations: 11.98 kB / 1.505 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.6016, allocations: 83.89 kB / 1.505 GB, free: 12.82 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.6021, allocations: 315.8 kB / 1.505 GB, free: 12.47 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.6023, allocations: 98.47 kB / 1.505 GB, free: 12.37 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.6024, allocations: 44.91 kB / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/0.6031, allocations: 99.8 kB / 1.506 GB, free: 12.22 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.6031, allocations: 38.56 kB / 1.506 GB, free: 12.18 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.6031, allocations: 0 / 1.506 GB, free: 12.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.0002832/0.6034, allocations: 121.6 kB / 1.506 GB, free: 12.05 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.6034, allocations: 55.39 kB / 1.506 GB, free: 11.98 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.6035, allocations: 109.8 kB / 1.506 GB, free: 11.87 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.6036, allocations: 33.7 kB / 1.506 GB, free: 11.83 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.6036, allocations: 100.3 kB / 1.506 GB, free: 11.73 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.6037, allocations: 35.69 kB / 1.506 GB, free: 11.69 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.6037, allocations: 37.7 kB / 1.506 GB, free: 11.65 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6039, allocations: 314.8 kB / 1.506 GB, free: 11.33 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.6039, allocations: 31.92 kB / 1.506 GB, free: 11.3 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/0.604, allocations: 69.12 kB / 1.506 GB, free: 11.21 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.6042, allocations: 121.4 kB / 1.507 GB, free: 11.08 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6042, allocations: 0 / 1.507 GB, free: 11.08 MB / 1.201 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00021/0.6044, allocations: 145.5 kB / 1.507 GB, free: 10.93 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6044, allocations: 7.938 kB / 1.507 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6044, allocations: 4 kB / 1.507 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6044, allocations: 0 / 1.507 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.6045, allocations: 32.16 kB / 1.507 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.6045, allocations: 7.938 kB / 1.507 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-05/0.6046, allocations: 19.89 kB / 1.507 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.6046, allocations: 4 kB / 1.507 GB, free: 10.86 MB / 1.201 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.0001096/0.6048, allocations: 129.9 kB / 1.507 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.6048, allocations: 11.89 kB / 1.507 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.6051, allocations: 121.9 kB / 1.507 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6051, allocations: 0 / 1.507 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6051, allocations: 7.984 kB / 1.507 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6051, allocations: 0 / 1.507 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.6053, allocations: 148.7 kB / 1.507 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6053, allocations: 4 kB / 1.507 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.6053, allocations: 12 kB / 1.507 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6053, allocations: 7.938 kB / 1.507 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6053, allocations: 4 kB / 1.507 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6054, allocations: 0 / 1.507 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.6054, allocations: 0 / 1.507 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.6056, allocations: 211.5 kB / 1.507 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.6056, allocations: 15.88 kB / 1.507 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.6056, allocations: 7.938 kB / 1.507 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.431e-05/0.6057, allocations: 7.938 kB / 1.507 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.6057, allocations: 7.984 kB / 1.507 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.6057, allocations: 4 kB / 1.507 GB, free: 10.09 MB / 1.201 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.6058, allocations: 87.28 kB / 1.508 GB, free: 10 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6058, allocations: 0 / 1.508 GB, free: 10 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000357/0.6061, allocations: 79.73 kB / 1.508 GB, free: 9.926 MB / 1.201 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.0003478/0.6065, allocations: 186.9 kB / 1.508 GB, free: 9.734 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.6066, allocations: 79.84 kB / 1.508 GB, free: 9.656 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6066, allocations: 4 kB / 1.508 GB, free: 9.652 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.6067, allocations: 27.98 kB / 1.508 GB, free: 9.625 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.607, allocations: 15.98 kB / 1.508 GB, free: 9.609 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.6074, allocations: 209 kB / 1.508 GB, free: 9.375 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.6077, allocations: 0.6924 MB / 1.509 GB, free: 8.656 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.6078, allocations: 15.44 kB / 1.509 GB, free: 8.641 MB / 1.201 GB Notification: Performance of SimCode: time 3.1e-07/0.6078, allocations: 0 / 1.509 GB, free: 8.641 MB / 1.201 GB Notification: Performance of Templates: time 0.004062/0.6118, allocations: 1.893 MB / 1.511 GB, free: 6.762 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.719531483016908]