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.0009081/0.0009081, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008673/0.0008673, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9108/0.9108, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9518 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.152e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001587/0.001608, allocations: 1.349 MB / 0.9531 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6526/0.6542, allocations: 129.9 MB / 1.08 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.6543, allocations: 0 / 1.08 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.6543, allocations: 3.375 kB / 1.08 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.6545, allocations: 54.23 kB / 1.08 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.6553, allocations: 353.2 kB / 1.08 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.448e-05/0.6554, allocations: 71.62 kB / 1.08 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.6555, allocations: 6.484 kB / 1.08 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.6555, allocations: 32.31 kB / 1.08 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.6556, allocations: 62.69 kB / 1.08 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.6556, allocations: 2.781 kB / 1.08 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.6561, allocations: 371.2 kB / 1.081 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.6561, allocations: 28.61 kB / 1.081 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.6561, allocations: 17.98 kB / 1.081 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.6564, allocations: 303.3 kB / 1.081 GB, free: 40.65 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.6565, allocations: 0 / 1.081 GB, free: 40.65 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6565, allocations: 0 / 1.081 GB, free: 40.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6565, allocations: 0 / 1.081 GB, free: 40.65 MB / 0.9948 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.0003065/0.6568, allocations: 328.1 kB / 1.081 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6568, allocations: 15.53 kB / 1.081 GB, free: 40.35 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.6568, allocations: 2.141 kB / 1.081 GB, free: 40.35 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.672e-05/0.6569, allocations: 108.3 kB / 1.082 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.6569, allocations: 2.906 kB / 1.082 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.6569, allocations: 5.219 kB / 1.082 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.657, allocations: 98.22 kB / 1.082 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.657, allocations: 0 / 1.082 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6571, allocations: 3.5 kB / 1.082 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.6571, allocations: 12.61 kB / 1.082 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/0.6572, allocations: 80.89 kB / 1.082 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.6574, allocations: 279.6 kB / 1.082 GB, free: 39.98 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.6575, allocations: 100.1 kB / 1.082 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.6576, allocations: 48.61 kB / 1.082 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/0.658, allocations: 85.17 kB / 1.082 GB, free: 39.94 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.658, allocations: 33.47 kB / 1.082 GB, free: 39.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.658, allocations: 0 / 1.082 GB, free: 39.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.00018/0.6582, allocations: 130.3 kB / 1.082 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.6582, allocations: 55.38 kB / 1.082 GB, free: 39.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.858e-05/0.6583, allocations: 119.2 kB / 1.083 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.6583, allocations: 34.95 kB / 1.083 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.6583, allocations: 90.78 kB / 1.083 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.6583, allocations: 43.02 kB / 1.083 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.6583, allocations: 38.95 kB / 1.083 GB, free: 39.52 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.06e-05/0.6584, allocations: 325.2 kB / 1.083 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.6584, allocations: 32.86 kB / 1.083 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/0.6584, allocations: 70.25 kB / 1.083 GB, free: 39.16 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.6585, allocations: 117.1 kB / 1.083 GB, free: 39.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6585, allocations: 0 / 1.083 GB, free: 39.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001129/0.6586, allocations: 134.7 kB / 1.083 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6587, allocations: 12.31 kB / 1.083 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6587, allocations: 0 / 1.083 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6587, allocations: 7 kB / 1.083 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.6587, allocations: 27.53 kB / 1.083 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.6587, allocations: 2.969 kB / 1.083 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.6588, allocations: 14.11 kB / 1.084 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.6588, allocations: 5.812 kB / 1.084 GB, free: 39.05 MB / 0.9948 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 4.285e-05/0.6588, allocations: 129.1 kB / 1.084 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.6588, allocations: 6.641 kB / 1.084 GB, free: 38.92 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.659, allocations: 119.7 kB / 1.084 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.659, allocations: 6.781 kB / 1.084 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.659, allocations: 0 / 1.084 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.659, allocations: 0 / 1.084 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.508e-05/0.6591, allocations: 139.6 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6591, allocations: 3.422 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.6591, allocations: 14.41 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6591, allocations: 3.984 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.6591, allocations: 6.438 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6591, allocations: 8.578 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6591, allocations: 0 / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.682e-05/0.6592, allocations: 190.5 kB / 1.084 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.6592, allocations: 23.55 kB / 1.084 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.6592, allocations: 0 / 1.084 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.887e-05/0.6593, allocations: 6.094 kB / 1.084 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.6593, allocations: 5.781 kB / 1.084 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.6593, allocations: 3.844 kB / 1.084 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.797e-05/0.6593, allocations: 91.25 kB / 1.084 GB, free: 38.53 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6593, allocations: 0 / 1.084 GB, free: 38.53 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002078/0.6595, allocations: 80.17 kB / 1.084 GB, free: 38.52 MB / 0.9948 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.0002284/0.6597, allocations: 194.5 kB / 1.085 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.6598, allocations: 82.22 kB / 1.085 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6598, allocations: 1.094 kB / 1.085 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.6599, allocations: 41.62 kB / 1.085 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.66, allocations: 13.41 kB / 1.085 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.6603, allocations: 206.1 kB / 1.085 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.6603, allocations: 74.22 kB / 1.085 GB, free: 38.18 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.6604, allocations: 18.03 kB / 1.085 GB, free: 38.18 MB / 0.9948 GB Notification: Performance of SimCode: time 3.21e-07/0.6604, allocations: 3.938 kB / 1.085 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of Templates: time 0.002204/0.6626, allocations: 1.948 MB / 1.087 GB, free: 37.96 MB / 0.9948 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: 7.835534404031932]