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.001413/0.001413, allocations: 79.42 kB / 19.76 MB, free: 1.875 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.001677/0.001677, allocations: 165.6 kB / 23.01 MB, free: 4.598 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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.79/2.79, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.002119/0.002119, allocations: 67.91 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9158/0.9179, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002009/0.9199, allocations: 1.343 MB / 1.155 GB, free: 32.4 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1658/1.086, allocations: 129.8 MB / 1.282 GB, free: 8.93 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/1.086, allocations: 0 / 1.282 GB, free: 8.93 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 9.457e-05/1.086, allocations: 6.516 kB / 1.282 GB, free: 8.926 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002471/1.086, allocations: 46.23 kB / 1.282 GB, free: 8.914 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/1.088, allocations: 354.5 kB / 1.282 GB, free: 8.75 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/1.088, allocations: 63.41 kB / 1.282 GB, free: 8.734 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/1.088, allocations: 10.67 kB / 1.283 GB, free: 8.727 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/1.088, allocations: 32.16 kB / 1.283 GB, free: 8.719 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/1.088, allocations: 57.88 kB / 1.283 GB, free: 8.707 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/1.088, allocations: 1.688 kB / 1.283 GB, free: 8.707 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008276/1.089, allocations: 371.3 kB / 1.283 GB, free: 8.582 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/1.089, allocations: 25.31 kB / 1.283 GB, free: 8.578 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/1.089, allocations: 27.78 kB / 1.283 GB, free: 8.566 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005318/1.09, allocations: 262.3 kB / 1.283 GB, free: 8.5 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.09, allocations: 0.75 kB / 1.283 GB, free: 8.5 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.823e-06/1.09, allocations: 0 / 1.283 GB, free: 8.5 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.09, allocations: 1.656 kB / 1.283 GB, free: 8.5 MB / 1.139 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.0004779/1.09, allocations: 334.7 kB / 1.284 GB, free: 8.184 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.09, allocations: 8.938 kB / 1.284 GB, free: 8.184 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/1.09, allocations: 7.547 kB / 1.284 GB, free: 8.18 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.091, allocations: 114.2 kB / 1.284 GB, free: 8.047 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/1.091, allocations: 9.062 kB / 1.284 GB, free: 8.039 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/1.091, allocations: 3.953 kB / 1.284 GB, free: 8.039 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/1.091, allocations: 88.31 kB / 1.284 GB, free: 7.996 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.091, allocations: 0.5625 kB / 1.284 GB, free: 7.996 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/1.091, allocations: 0 / 1.284 GB, free: 7.996 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/1.091, allocations: 19.33 kB / 1.284 GB, free: 7.988 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/1.091, allocations: 79.58 kB / 1.284 GB, free: 7.973 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/1.091, allocations: 284.2 kB / 1.284 GB, free: 7.738 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/1.092, allocations: 93.73 kB / 1.284 GB, free: 7.699 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.616e-05/1.092, allocations: 54.8 kB / 1.284 GB, free: 7.676 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/1.092, allocations: 86.84 kB / 1.284 GB, free: 7.668 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.092, allocations: 36.92 kB / 1.284 GB, free: 7.625 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/1.092, allocations: 0 / 1.284 GB, free: 7.625 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.0002898/1.093, allocations: 122.2 kB / 1.285 GB, free: 7.57 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.093, allocations: 53.3 kB / 1.285 GB, free: 7.508 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/1.093, allocations: 123 kB / 1.285 GB, free: 7.395 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/1.093, allocations: 30.55 kB / 1.285 GB, free: 7.359 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/1.093, allocations: 96.53 kB / 1.285 GB, free: 7.266 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/1.093, allocations: 44.39 kB / 1.285 GB, free: 7.23 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/1.093, allocations: 36.02 kB / 1.285 GB, free: 7.203 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.093, allocations: 314.9 kB / 1.285 GB, free: 6.891 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/1.093, allocations: 29.3 kB / 1.285 GB, free: 6.887 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/1.093, allocations: 78.59 kB / 1.285 GB, free: 6.824 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/1.094, allocations: 115.9 kB / 1.285 GB, free: 6.75 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.094, allocations: 0 / 1.285 GB, free: 6.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002304/1.094, allocations: 141.5 kB / 1.286 GB, free: 6.684 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.094, allocations: 5.812 kB / 1.286 GB, free: 6.684 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.094, allocations: 2.438 kB / 1.286 GB, free: 6.684 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.094, allocations: 1.562 kB / 1.286 GB, free: 6.684 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.094, allocations: 29.5 kB / 1.286 GB, free: 6.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.094, allocations: 11.77 kB / 1.286 GB, free: 6.672 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/1.094, allocations: 14.3 kB / 1.286 GB, free: 6.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/1.094, allocations: 5.656 kB / 1.286 GB, free: 6.66 MB / 1.139 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.0001069/1.094, allocations: 120 kB / 1.286 GB, free: 6.543 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/1.094, allocations: 11.45 kB / 1.286 GB, free: 6.535 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/1.094, allocations: 129.8 kB / 1.286 GB, free: 6.461 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.094, allocations: 1.344 kB / 1.286 GB, free: 6.461 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.094, allocations: 3.938 kB / 1.286 GB, free: 6.457 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.094, allocations: 6.047 kB / 1.286 GB, free: 6.453 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/1.095, allocations: 122.3 kB / 1.286 GB, free: 6.324 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.095, allocations: 0 / 1.286 GB, free: 6.324 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/1.095, allocations: 20.75 kB / 1.286 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.095, allocations: 1.953 kB / 1.286 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/1.095, allocations: 0 / 1.286 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.095, allocations: 2.094 kB / 1.286 GB, free: 6.32 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.095, allocations: 3.938 kB / 1.286 GB, free: 6.316 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/1.095, allocations: 198.1 kB / 1.286 GB, free: 6.164 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/1.095, allocations: 16.7 kB / 1.286 GB, free: 6.156 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/1.095, allocations: 9.953 kB / 1.286 GB, free: 6.148 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.475e-05/1.095, allocations: 5.344 kB / 1.286 GB, free: 6.145 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/1.095, allocations: 10.56 kB / 1.286 GB, free: 6.141 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/1.095, allocations: 6.844 kB / 1.286 GB, free: 6.137 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.715e-05/1.095, allocations: 86.22 kB / 1.286 GB, free: 6.062 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.095, allocations: 0 / 1.286 GB, free: 6.062 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003909/1.096, allocations: 79.95 kB / 1.286 GB, free: 6.039 MB / 1.139 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.0003616/1.096, allocations: 193.2 kB / 1.287 GB, free: 5.918 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001802/1.096, allocations: 79.61 kB / 1.287 GB, free: 5.902 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.096, allocations: 3.938 kB / 1.287 GB, free: 5.898 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.446e-05/1.096, allocations: 32.2 kB / 1.287 GB, free: 5.895 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/1.096, allocations: 19 kB / 1.287 GB, free: 5.887 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/1.097, allocations: 177.3 kB / 1.287 GB, free: 5.758 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.525e-05/1.097, allocations: 82.83 kB / 1.287 GB, free: 5.68 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001249/1.097, allocations: 49.11 kB / 1.287 GB, free: 5.676 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/1.097, allocations: 18.97 kB / 1.287 GB, free: 5.664 MB / 1.139 GB Notification: Performance of SimCode: time 3.21e-07/1.097, allocations: 0 / 1.287 GB, free: 5.664 MB / 1.139 GB Notification: Performance of Templates: time 0.005801/1.103, allocations: 1.921 MB / 1.289 GB, free: 5.449 MB / 1.139 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 ida -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: 9.120336997904815]