Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001749/0.001749, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002041/0.002041, allocations: 209.8 kB / 22.99 MB, free: 4.957 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.255/3.255, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002091/0.002091, allocations: 62.41 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3226, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00249/0.3251, allocations: 1.343 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.4944, allocations: 129.8 MB / 1.455 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.4945, allocations: 0 / 1.455 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.4945, allocations: 0 / 1.455 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.4947, allocations: 51.8 kB / 1.455 GB, free: 13.24 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.4959, allocations: 350.6 kB / 1.456 GB, free: 12.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.496, allocations: 59.83 kB / 1.456 GB, free: 12.84 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.496, allocations: 11.98 kB / 1.456 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.224e-05/0.4961, allocations: 39.84 kB / 1.456 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.4962, allocations: 55.86 kB / 1.456 GB, free: 12.73 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.4962, allocations: 4 kB / 1.456 GB, free: 12.73 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007098/0.4969, allocations: 367.2 kB / 1.456 GB, free: 12.37 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.497, allocations: 31.94 kB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.497, allocations: 23.88 kB / 1.456 GB, free: 12.31 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.4975, allocations: 271.2 kB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4975, allocations: 0 / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4975, allocations: 0 / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4975, allocations: 0 / 1.456 GB, free: 12.05 MB / 1.154 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.0004574/0.498, allocations: 329.7 kB / 1.457 GB, free: 11.7 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.498, allocations: 8.031 kB / 1.457 GB, free: 11.69 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.4981, allocations: 8.891 kB / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.4982, allocations: 118.4 kB / 1.457 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4982, allocations: 3.938 kB / 1.457 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.4982, allocations: 7.938 kB / 1.457 GB, free: 11.53 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.4984, allocations: 89.66 kB / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4984, allocations: 0 / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.4984, allocations: 8 kB / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.4985, allocations: 11.98 kB / 1.457 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.4986, allocations: 79.89 kB / 1.457 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.4991, allocations: 292.3 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.4993, allocations: 94.48 kB / 1.457 GB, free: 10.92 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.4994, allocations: 48.89 kB / 1.457 GB, free: 10.87 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.5001, allocations: 87.89 kB / 1.458 GB, free: 10.78 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.5002, allocations: 30.56 kB / 1.458 GB, free: 10.74 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.5002, allocations: 0 / 1.458 GB, free: 10.74 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.000297/0.5005, allocations: 129.6 kB / 1.458 GB, free: 10.61 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5005, allocations: 55.41 kB / 1.458 GB, free: 10.54 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.5006, allocations: 117.8 kB / 1.458 GB, free: 10.42 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.5006, allocations: 25.7 kB / 1.458 GB, free: 10.39 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.5007, allocations: 100.3 kB / 1.458 GB, free: 10.29 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.5007, allocations: 39.69 kB / 1.458 GB, free: 10.25 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.5008, allocations: 33.7 kB / 1.458 GB, free: 10.21 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5009, allocations: 314.8 kB / 1.458 GB, free: 9.891 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.501, allocations: 39.91 kB / 1.458 GB, free: 9.852 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.5011, allocations: 65.14 kB / 1.458 GB, free: 9.77 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.5012, allocations: 117 kB / 1.459 GB, free: 9.637 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5012, allocations: 0 / 1.459 GB, free: 9.637 MB / 1.154 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002206/0.5015, allocations: 145.4 kB / 1.459 GB, free: 9.488 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5015, allocations: 4 kB / 1.459 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5015, allocations: 4.156 kB / 1.459 GB, free: 9.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5015, allocations: 7.984 kB / 1.459 GB, free: 9.473 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.5016, allocations: 28 kB / 1.459 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.5016, allocations: 11.86 kB / 1.459 GB, free: 9.434 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.5017, allocations: 7.953 kB / 1.459 GB, free: 9.426 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.5017, allocations: 4 kB / 1.459 GB, free: 9.422 MB / 1.154 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.0001/0.5018, allocations: 122.3 kB / 1.459 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.5018, allocations: 7.953 kB / 1.459 GB, free: 9.285 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.5021, allocations: 130.4 kB / 1.459 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5021, allocations: 4 kB / 1.459 GB, free: 9.148 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5021, allocations: 7.875 kB / 1.459 GB, free: 9.141 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5021, allocations: 0 / 1.459 GB, free: 9.141 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.5023, allocations: 129.2 kB / 1.459 GB, free: 8.984 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5023, allocations: 256 / 1.459 GB, free: 8.984 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.5023, allocations: 19.98 kB / 1.459 GB, free: 8.965 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5023, allocations: 4 kB / 1.459 GB, free: 8.961 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5023, allocations: 0 / 1.459 GB, free: 8.961 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5023, allocations: 4 kB / 1.459 GB, free: 8.957 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5023, allocations: 0 / 1.459 GB, free: 8.957 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.5026, allocations: 203.4 kB / 1.459 GB, free: 8.742 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.5026, allocations: 23.88 kB / 1.459 GB, free: 8.719 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5026, allocations: 4 kB / 1.459 GB, free: 8.715 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.5027, allocations: 4 kB / 1.459 GB, free: 8.711 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.5027, allocations: 7.984 kB / 1.459 GB, free: 8.703 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.5027, allocations: 3.938 kB / 1.459 GB, free: 8.699 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.5028, allocations: 95.2 kB / 1.46 GB, free: 8.605 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5028, allocations: 0 / 1.46 GB, free: 8.605 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003755/0.5031, allocations: 79.73 kB / 1.46 GB, free: 8.527 MB / 1.154 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.0003529/0.5035, allocations: 186.9 kB / 1.46 GB, free: 8.336 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.5037, allocations: 87.98 kB / 1.46 GB, free: 8.25 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5037, allocations: 0 / 1.46 GB, free: 8.25 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.5037, allocations: 31.98 kB / 1.46 GB, free: 8.219 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.504, allocations: 24.22 kB / 1.46 GB, free: 8.195 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.5044, allocations: 170.9 kB / 1.46 GB, free: 8.004 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.621e-05/0.5045, allocations: 75.25 kB / 1.46 GB, free: 7.91 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.5046, allocations: 56.8 kB / 1.46 GB, free: 7.852 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.5046, allocations: 15.44 kB / 1.46 GB, free: 7.836 MB / 1.154 GB Notification: Performance of SimCode: time 3.4e-07/0.5046, allocations: 0 / 1.46 GB, free: 7.836 MB / 1.154 GB Notification: Performance of Templates: time 0.005583/0.5102, allocations: 2.034 MB / 1.462 GB, free: 5.863 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.990871799993329]