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.001486/0.001486, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002013/0.002013, allocations: 211.5 kB / 22.24 MB, free: 4.855 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.619/1.619, allocations: 230.6 MB / 256 MB, free: 7.809 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.856/3.856, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.002152/0.002152, allocations: 71.92 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4956, allocations: 181.9 MB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003206/0.4988, allocations: 1.348 MB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.205/0.7038, allocations: 129.8 MB / 1.492 GB, free: 10.03 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.7039, allocations: 0 / 1.492 GB, free: 10.03 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 5.567e-05/0.7039, allocations: 3.938 kB / 1.492 GB, free: 10.03 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.7042, allocations: 35.88 kB / 1.492 GB, free: 9.992 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.7058, allocations: 362.5 kB / 1.492 GB, free: 9.637 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.706, allocations: 75.75 kB / 1.492 GB, free: 9.562 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.7061, allocations: 0 / 1.492 GB, free: 9.562 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 7.32e-05/0.7061, allocations: 27.97 kB / 1.492 GB, free: 9.535 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.7063, allocations: 55.88 kB / 1.493 GB, free: 9.48 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.7063, allocations: 0 / 1.493 GB, free: 9.48 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.7074, allocations: 375.1 kB / 1.493 GB, free: 9.113 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.7075, allocations: 27.91 kB / 1.493 GB, free: 9.086 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.7075, allocations: 27.86 kB / 1.493 GB, free: 9.059 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007908/0.7083, allocations: 275.1 kB / 1.493 GB, free: 8.789 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7083, allocations: 0 / 1.493 GB, free: 8.789 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7083, allocations: 0 / 1.493 GB, free: 8.789 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7083, allocations: 0 / 1.493 GB, free: 8.789 MB / 1.186 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.000638/0.709, allocations: 321.7 kB / 1.494 GB, free: 8.445 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.709, allocations: 8.031 kB / 1.494 GB, free: 8.438 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.7091, allocations: 4.938 kB / 1.494 GB, free: 8.434 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.7092, allocations: 125.7 kB / 1.494 GB, free: 8.285 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.7092, allocations: 0 / 1.494 GB, free: 8.285 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.7092, allocations: 4 kB / 1.494 GB, free: 8.281 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.7095, allocations: 89.59 kB / 1.494 GB, free: 8.188 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.7095, allocations: 0 / 1.494 GB, free: 8.188 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.7095, allocations: 7.984 kB / 1.494 GB, free: 8.18 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.7095, allocations: 12 kB / 1.494 GB, free: 8.168 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.7097, allocations: 75.95 kB / 1.494 GB, free: 8.094 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.7102, allocations: 288.3 kB / 1.494 GB, free: 7.781 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.7104, allocations: 98.56 kB / 1.494 GB, free: 7.676 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.7105, allocations: 48.89 kB / 1.494 GB, free: 7.625 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007703/0.7113, allocations: 95.89 kB / 1.494 GB, free: 7.531 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.7113, allocations: 38.48 kB / 1.494 GB, free: 7.488 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.7113, allocations: 0 / 1.494 GB, free: 7.488 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0003149/0.7117, allocations: 121.5 kB / 1.494 GB, free: 7.363 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.7117, allocations: 55.41 kB / 1.495 GB, free: 7.297 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.7118, allocations: 117.8 kB / 1.495 GB, free: 7.172 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.7119, allocations: 29.7 kB / 1.495 GB, free: 7.137 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.7119, allocations: 100.3 kB / 1.495 GB, free: 7.035 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.712, allocations: 39.69 kB / 1.495 GB, free: 6.996 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.712, allocations: 41.59 kB / 1.495 GB, free: 6.949 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7122, allocations: 314.8 kB / 1.495 GB, free: 6.633 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.7123, allocations: 31.98 kB / 1.495 GB, free: 6.602 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.7124, allocations: 73.06 kB / 1.495 GB, free: 6.512 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.7126, allocations: 121.4 kB / 1.495 GB, free: 6.375 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7126, allocations: 0 / 1.495 GB, free: 6.375 MB / 1.186 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002354/0.7128, allocations: 133.5 kB / 1.495 GB, free: 6.238 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7128, allocations: 4 kB / 1.496 GB, free: 6.234 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.7128, allocations: 4 kB / 1.496 GB, free: 6.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.7129, allocations: 3.938 kB / 1.496 GB, free: 6.227 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.713, allocations: 35.86 kB / 1.496 GB, free: 6.191 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.713, allocations: 160 / 1.496 GB, free: 6.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.713, allocations: 15.95 kB / 1.496 GB, free: 6.176 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.7131, allocations: 4 kB / 1.496 GB, free: 6.172 MB / 1.186 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.0001308/0.7132, allocations: 133.7 kB / 1.496 GB, free: 6.031 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.7132, allocations: 3.953 kB / 1.496 GB, free: 6.027 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.7135, allocations: 130 kB / 1.496 GB, free: 5.891 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.7135, allocations: 3.984 kB / 1.496 GB, free: 5.887 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7135, allocations: 0 / 1.496 GB, free: 5.887 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7135, allocations: 0 / 1.496 GB, free: 5.887 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.7137, allocations: 129.3 kB / 1.496 GB, free: 5.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7137, allocations: 0 / 1.496 GB, free: 5.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.7137, allocations: 19.94 kB / 1.496 GB, free: 5.711 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7138, allocations: 0 / 1.496 GB, free: 5.711 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.7138, allocations: 7.984 kB / 1.496 GB, free: 5.703 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.7138, allocations: 3.938 kB / 1.496 GB, free: 5.699 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7138, allocations: 0 / 1.496 GB, free: 5.699 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.714, allocations: 191.5 kB / 1.496 GB, free: 5.496 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.714, allocations: 19.88 kB / 1.496 GB, free: 5.477 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.7141, allocations: 4.25 kB / 1.496 GB, free: 5.473 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.7141, allocations: 11.94 kB / 1.496 GB, free: 5.461 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.7141, allocations: 11.98 kB / 1.496 GB, free: 5.449 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.7141, allocations: 0 / 1.496 GB, free: 5.449 MB / 1.186 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.7142, allocations: 91.27 kB / 1.496 GB, free: 5.359 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.7142, allocations: 0 / 1.496 GB, free: 5.359 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004127/0.7146, allocations: 75.75 kB / 1.496 GB, free: 5.285 MB / 1.186 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.0004376/0.7151, allocations: 194.8 kB / 1.497 GB, free: 5.086 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.7153, allocations: 79.84 kB / 1.497 GB, free: 5.008 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7153, allocations: 0 / 1.497 GB, free: 5.008 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.7153, allocations: 39.91 kB / 1.497 GB, free: 4.969 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.7156, allocations: 9.562 kB / 1.497 GB, free: 4.961 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.7161, allocations: 170.9 kB / 1.497 GB, free: 4.77 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.668e-05/0.7162, allocations: 75.64 kB / 1.497 GB, free: 4.676 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.7163, allocations: 53.03 kB / 1.497 GB, free: 4.625 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.7163, allocations: 15.42 kB / 1.497 GB, free: 4.609 MB / 1.186 GB Notification: Performance of SimCode: time 5.21e-07/0.7163, allocations: 4 kB / 1.497 GB, free: 4.605 MB / 1.186 GB Notification: Performance of Templates: time 0.006451/0.7228, allocations: 2 MB / 1.499 GB, free: 2.668 MB / 1.186 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/jenkins/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.10787844657898]