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.001401/0.001401, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001791/0.001791, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.463/1.463, 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 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.152/3.152, allocations: 0.49 GB / 0.7958 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 177] 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.002106/0.002106, allocations: 76.41 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002528/0.346, allocations: 1.366 MB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5336, allocations: 151.2 MB / 1.476 GB, free: 8.352 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.5336, allocations: 4 kB / 1.476 GB, free: 8.348 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.5337, allocations: 0 / 1.476 GB, free: 8.348 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.5339, allocations: 43.86 kB / 1.476 GB, free: 8.305 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.5351, allocations: 370.5 kB / 1.477 GB, free: 7.941 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.5353, allocations: 71.75 kB / 1.477 GB, free: 7.871 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.5353, allocations: 3.984 kB / 1.477 GB, free: 7.867 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.844e-05/0.5354, allocations: 23.98 kB / 1.477 GB, free: 7.844 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.5355, allocations: 67.86 kB / 1.477 GB, free: 7.777 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.5355, allocations: 0 / 1.477 GB, free: 7.777 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00087/0.5364, allocations: 443 kB / 1.477 GB, free: 7.344 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.5364, allocations: 27.89 kB / 1.477 GB, free: 7.316 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.5365, allocations: 19.94 kB / 1.477 GB, free: 7.297 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.537, allocations: 283.1 kB / 1.477 GB, free: 7.02 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.537, allocations: 0 / 1.477 GB, free: 7.02 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.583e-06/0.537, allocations: 0 / 1.477 GB, free: 7.02 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.537, allocations: 0 / 1.477 GB, free: 7.02 MB / 1.17 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.0004984/0.5375, allocations: 326.8 kB / 1.478 GB, free: 6.672 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5376, allocations: 19.97 kB / 1.478 GB, free: 6.652 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.5376, allocations: 4.891 kB / 1.478 GB, free: 6.648 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.5377, allocations: 118.4 kB / 1.478 GB, free: 6.508 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5377, allocations: 3.938 kB / 1.478 GB, free: 6.504 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.5377, allocations: 4 kB / 1.478 GB, free: 6.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.5379, allocations: 93.64 kB / 1.478 GB, free: 6.402 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5379, allocations: 3.984 kB / 1.478 GB, free: 6.398 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.538, allocations: 4 kB / 1.478 GB, free: 6.395 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.538, allocations: 11.98 kB / 1.478 GB, free: 6.383 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.5381, allocations: 79.95 kB / 1.478 GB, free: 6.305 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.5387, allocations: 315.8 kB / 1.478 GB, free: 5.953 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.5389, allocations: 98.53 kB / 1.478 GB, free: 5.848 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.498e-05/0.5389, allocations: 40.84 kB / 1.478 GB, free: 5.805 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007426/0.5397, allocations: 95.81 kB / 1.479 GB, free: 5.711 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5397, allocations: 30.56 kB / 1.479 GB, free: 5.672 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.5397, allocations: 0 / 1.479 GB, free: 5.672 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.0002842/0.54, allocations: 129.6 kB / 1.479 GB, free: 5.539 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.54, allocations: 55.34 kB / 1.479 GB, free: 5.473 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.5402, allocations: 109.8 kB / 1.479 GB, free: 5.355 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5402, allocations: 25.7 kB / 1.479 GB, free: 5.324 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.5402, allocations: 112.3 kB / 1.479 GB, free: 5.211 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.5403, allocations: 35.69 kB / 1.479 GB, free: 5.176 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.5403, allocations: 29.72 kB / 1.479 GB, free: 5.141 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5405, allocations: 322.8 kB / 1.479 GB, free: 4.816 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.5405, allocations: 27.98 kB / 1.479 GB, free: 4.789 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.5406, allocations: 79.7 kB / 1.479 GB, free: 4.695 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.5408, allocations: 117.4 kB / 1.48 GB, free: 4.562 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5408, allocations: 8 kB / 1.48 GB, free: 4.555 MB / 1.17 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002242/0.541, allocations: 137.5 kB / 1.48 GB, free: 4.414 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.541, allocations: 8 kB / 1.48 GB, free: 4.406 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5411, allocations: 0 / 1.48 GB, free: 4.406 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5411, allocations: 4 kB / 1.48 GB, free: 4.402 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5412, allocations: 27.92 kB / 1.48 GB, free: 4.375 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.5412, allocations: 7.938 kB / 1.48 GB, free: 4.367 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.5412, allocations: 11.89 kB / 1.48 GB, free: 4.355 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.5413, allocations: 8 kB / 1.48 GB, free: 4.348 MB / 1.17 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.000114/0.5414, allocations: 130.5 kB / 1.48 GB, free: 4.211 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.5414, allocations: 4 kB / 1.48 GB, free: 4.207 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.5416, allocations: 125.9 kB / 1.48 GB, free: 4.078 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5416, allocations: 3.938 kB / 1.48 GB, free: 4.074 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5416, allocations: 3.938 kB / 1.48 GB, free: 4.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5417, allocations: 0 / 1.48 GB, free: 4.07 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.5419, allocations: 156.7 kB / 1.48 GB, free: 3.875 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5419, allocations: 0 / 1.48 GB, free: 3.875 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.5419, allocations: 23.98 kB / 1.48 GB, free: 3.852 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5419, allocations: 0 / 1.48 GB, free: 3.852 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.5419, allocations: 0 / 1.48 GB, free: 3.852 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.5419, allocations: 7.938 kB / 1.48 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5419, allocations: 0 / 1.48 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.5421, allocations: 195.4 kB / 1.48 GB, free: 3.637 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.5422, allocations: 23.88 kB / 1.48 GB, free: 3.613 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5422, allocations: 3.938 kB / 1.48 GB, free: 3.609 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.5423, allocations: 15.94 kB / 1.48 GB, free: 3.594 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.5423, allocations: 3.984 kB / 1.48 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.5423, allocations: 4 kB / 1.48 GB, free: 3.586 MB / 1.17 GB Notification: Performance of sorting global known variables: time 6.626e-05/0.5423, allocations: 91.27 kB / 1.481 GB, free: 3.496 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.5423, allocations: 0 / 1.481 GB, free: 3.496 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003647/0.5427, allocations: 75.73 kB / 1.481 GB, free: 3.422 MB / 1.17 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.0003649/0.5431, allocations: 191 kB / 1.481 GB, free: 3.227 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.5433, allocations: 83.89 kB / 1.481 GB, free: 3.145 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5433, allocations: 0 / 1.481 GB, free: 3.145 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/0.5433, allocations: 31.92 kB / 1.481 GB, free: 3.113 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.5436, allocations: 22.17 kB / 1.481 GB, free: 3.094 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.544, allocations: 200.9 kB / 1.481 GB, free: 2.867 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.5444, allocations: 0.6924 MB / 1.482 GB, free: 2.148 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.5445, allocations: 11.44 kB / 1.482 GB, free: 2.137 MB / 1.17 GB Notification: Performance of SimCode: time 3.2e-07/0.5445, allocations: 0 / 1.482 GB, free: 2.137 MB / 1.17 GB Notification: Performance of Templates: time 0.004095/0.5486, allocations: 1.898 MB / 1.484 GB, free: 256 kB / 1.17 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 -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: 11.47489386901725]