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.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.001323/0.001323, allocations: 109.4 kB / 17.08 MB, free: 5.984 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.001332/0.001332, allocations: 192.7 kB / 20.03 MB, free: 3.059 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.419/1.419, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.009/3.009, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 75.88 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9692/0.9712, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00238/0.9736, allocations: 1.34 MB / 1.264 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1862/1.16, allocations: 147.9 MB / 1.408 GB, free: 9.902 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/1.16, allocations: 1.281 kB / 1.408 GB, free: 9.902 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/1.16, allocations: 3.938 kB / 1.408 GB, free: 9.898 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001706/1.16, allocations: 40.52 kB / 1.408 GB, free: 9.875 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/1.162, allocations: 362.1 kB / 1.409 GB, free: 9.621 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/1.162, allocations: 66.05 kB / 1.409 GB, free: 9.594 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/1.162, allocations: 10.2 kB / 1.409 GB, free: 9.586 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/1.162, allocations: 26.31 kB / 1.409 GB, free: 9.578 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/1.162, allocations: 57.22 kB / 1.409 GB, free: 9.551 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/1.162, allocations: 2.812 kB / 1.409 GB, free: 9.551 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008316/1.163, allocations: 410.3 kB / 1.409 GB, free: 9.328 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/1.163, allocations: 31.03 kB / 1.409 GB, free: 9.309 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/1.163, allocations: 29.89 kB / 1.409 GB, free: 9.293 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004937/1.163, allocations: 268 kB / 1.41 GB, free: 9.168 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.163, allocations: 1.188 kB / 1.41 GB, free: 9.168 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.124e-06/1.163, allocations: 0 / 1.41 GB, free: 9.168 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.163, allocations: 3.938 kB / 1.41 GB, free: 9.164 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.0004865/1.164, allocations: 402.1 kB / 1.41 GB, free: 8.754 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/1.164, allocations: 9.5 kB / 1.41 GB, free: 8.754 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/1.164, allocations: 11.11 kB / 1.41 GB, free: 8.746 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.164, allocations: 174.7 kB / 1.41 GB, free: 8.539 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/1.164, allocations: 9.016 kB / 1.41 GB, free: 8.531 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/1.164, allocations: 2.281 kB / 1.41 GB, free: 8.531 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/1.164, allocations: 92.8 kB / 1.41 GB, free: 8.473 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/1.164, allocations: 0 / 1.41 GB, free: 8.473 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/1.164, allocations: 1.25 kB / 1.41 GB, free: 8.473 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/1.164, allocations: 16.17 kB / 1.41 GB, free: 8.465 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/1.165, allocations: 80.11 kB / 1.41 GB, free: 8.438 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/1.165, allocations: 345.9 kB / 1.411 GB, free: 8.105 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/1.165, allocations: 98.88 kB / 1.411 GB, free: 8.055 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/1.165, allocations: 51.14 kB / 1.411 GB, free: 8.031 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00089/1.166, allocations: 472.8 kB / 1.411 GB, free: 7.523 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.166, allocations: 40.72 kB / 1.411 GB, free: 7.477 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/1.166, allocations: 0 / 1.411 GB, free: 7.477 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0002771/1.167, allocations: 118 kB / 1.411 GB, free: 7.414 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/1.167, allocations: 56.47 kB / 1.411 GB, free: 7.348 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.388e-05/1.167, allocations: 115 kB / 1.412 GB, free: 7.238 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/1.167, allocations: 29.7 kB / 1.412 GB, free: 7.203 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/1.167, allocations: 98.89 kB / 1.412 GB, free: 7.105 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/1.167, allocations: 41.2 kB / 1.412 GB, free: 7.07 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/1.167, allocations: 37.69 kB / 1.412 GB, free: 7.039 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.167, allocations: 316.3 kB / 1.412 GB, free: 6.723 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/1.167, allocations: 36.12 kB / 1.412 GB, free: 6.707 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.359e-05/1.167, allocations: 78.2 kB / 1.412 GB, free: 6.637 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/1.167, allocations: 114.8 kB / 1.412 GB, free: 6.555 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.167, allocations: 1.156 kB / 1.412 GB, free: 6.555 MB / 1.107 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002129/1.168, allocations: 136.5 kB / 1.412 GB, free: 6.48 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.168, allocations: 6.656 kB / 1.412 GB, free: 6.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/1.168, allocations: 1.219 kB / 1.412 GB, free: 6.48 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.168, allocations: 6.172 kB / 1.412 GB, free: 6.477 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/1.168, allocations: 33.62 kB / 1.412 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.168, allocations: 6.359 kB / 1.412 GB, free: 6.461 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/1.168, allocations: 11.58 kB / 1.412 GB, free: 6.453 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/1.168, allocations: 4.031 kB / 1.412 GB, free: 6.453 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 9.472e-05/1.168, allocations: 129.9 kB / 1.413 GB, free: 6.328 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/1.168, allocations: 7.391 kB / 1.413 GB, free: 6.324 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/1.168, allocations: 130.8 kB / 1.413 GB, free: 6.238 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.168, allocations: 5.438 kB / 1.413 GB, free: 6.234 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.168, allocations: 0 / 1.413 GB, free: 6.234 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.168, allocations: 1.219 kB / 1.413 GB, free: 6.234 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/1.168, allocations: 179.5 kB / 1.413 GB, free: 6.027 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.168, allocations: 0 / 1.413 GB, free: 6.027 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/1.169, allocations: 22.91 kB / 1.413 GB, free: 6.02 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/1.169, allocations: 5.156 kB / 1.413 GB, free: 6.016 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/1.169, allocations: 0.7188 kB / 1.413 GB, free: 6.016 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.169, allocations: 5.031 kB / 1.413 GB, free: 6.012 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.169, allocations: 0 / 1.413 GB, free: 6.012 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/1.169, allocations: 199 kB / 1.413 GB, free: 5.848 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/1.169, allocations: 94.88 kB / 1.413 GB, free: 5.742 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/1.169, allocations: 1.031 kB / 1.413 GB, free: 5.742 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/1.169, allocations: 7.938 kB / 1.413 GB, free: 5.734 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/1.169, allocations: 12.02 kB / 1.413 GB, free: 5.727 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/1.169, allocations: 3.188 kB / 1.413 GB, free: 5.727 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.288e-05/1.169, allocations: 94.7 kB / 1.413 GB, free: 5.641 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.169, allocations: 0 / 1.413 GB, free: 5.641 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003583/1.169, allocations: 72.56 kB / 1.413 GB, free: 5.621 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.0003556/1.17, allocations: 196.2 kB / 1.414 GB, free: 5.484 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001703/1.17, allocations: 82.78 kB / 1.414 GB, free: 5.457 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.17, allocations: 0 / 1.414 GB, free: 5.457 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-05/1.17, allocations: 41.81 kB / 1.414 GB, free: 5.441 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/1.17, allocations: 10.5 kB / 1.414 GB, free: 5.438 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/1.171, allocations: 208.3 kB / 1.414 GB, free: 5.262 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/1.171, allocations: 0.6901 MB / 1.415 GB, free: 4.559 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/1.171, allocations: 19 kB / 1.415 GB, free: 4.547 MB / 1.107 GB Notification: Performance of SimCode: time 2.31e-07/1.171, allocations: 0 / 1.415 GB, free: 4.547 MB / 1.107 GB Notification: Performance of Templates: time 0.003963/1.175, allocations: 1.859 MB / 1.416 GB, free: 3.602 MB / 1.107 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_2/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: 12.06327227386646]