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.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.002007/0.002007, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002053/0.002053, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.606/1.606, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.437/3.437, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.794e-06/1.794e-06, allocations: 0 / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.701e-05, allocations: 6.812 kB / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003464/0.003501, allocations: 1.371 MB / 0.8788 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2434/0.2469, allocations: 143.4 MB / 1.019 GB, free: 5.363 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.247, allocations: 0 / 1.019 GB, free: 5.363 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 7.745e-05/0.247, allocations: 4 kB / 1.019 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.2477, allocations: 47.73 kB / 1.019 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.2493, allocations: 366.3 kB / 1.019 GB, free: 4.953 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.2495, allocations: 71.75 kB / 1.019 GB, free: 4.883 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.2496, allocations: 3.938 kB / 1.019 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.2497, allocations: 39.95 kB / 1.019 GB, free: 4.84 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.2498, allocations: 55.86 kB / 1.019 GB, free: 4.785 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.2498, allocations: 8 kB / 1.019 GB, free: 4.777 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008889/0.2507, allocations: 363 kB / 1.02 GB, free: 4.422 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.2508, allocations: 31.91 kB / 1.02 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.2509, allocations: 19.98 kB / 1.02 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.2515, allocations: 303 kB / 1.02 GB, free: 4.074 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.2515, allocations: 4 kB / 1.02 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2515, allocations: 0 / 1.02 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2515, allocations: 0 / 1.02 GB, free: 4.07 MB / 0.9792 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.0006823/0.2522, allocations: 427.6 kB / 1.021 GB, free: 3.617 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2523, allocations: 8.031 kB / 1.021 GB, free: 3.609 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.2523, allocations: 12.89 kB / 1.021 GB, free: 3.598 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2525, allocations: 116.3 kB / 1.021 GB, free: 3.457 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2525, allocations: 4 kB / 1.021 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2525, allocations: 4 kB / 1.021 GB, free: 3.449 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.2527, allocations: 65.59 kB / 1.021 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2527, allocations: 3.938 kB / 1.021 GB, free: 3.375 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2527, allocations: 0 / 1.021 GB, free: 3.375 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/0.2528, allocations: 11.98 kB / 1.021 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.2529, allocations: 39.97 kB / 1.021 GB, free: 3.324 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.2535, allocations: 311.6 kB / 1.021 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.2537, allocations: 82.97 kB / 1.021 GB, free: 2.891 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.2538, allocations: 39.73 kB / 1.021 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/0.2545, allocations: 79.91 kB / 1.021 GB, free: 2.77 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.2546, allocations: 41.39 kB / 1.021 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.2546, allocations: 0 / 1.021 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.0003233/0.2549, allocations: 101.6 kB / 1.021 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.2549, allocations: 55.34 kB / 1.021 GB, free: 2.547 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.2551, allocations: 177.9 kB / 1.022 GB, free: 2.355 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.2551, allocations: 25.7 kB / 1.022 GB, free: 2.324 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2553, allocations: 151 kB / 1.022 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.2553, allocations: 39.67 kB / 1.022 GB, free: 2.133 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.2554, allocations: 43.36 kB / 1.022 GB, free: 2.082 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003381/0.2557, allocations: 0.4884 MB / 1.022 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.2558, allocations: 11.98 kB / 1.022 GB, free: 1.57 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.2559, allocations: 78.11 kB / 1.022 GB, free: 1.469 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.2561, allocations: 106 kB / 1.023 GB, free: 1.34 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2561, allocations: 0 / 1.023 GB, free: 1.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002246/0.2563, allocations: 121.4 kB / 1.023 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2563, allocations: 8 kB / 1.023 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2563, allocations: 256 / 1.023 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2563, allocations: 4 kB / 1.023 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2565, allocations: 28.14 kB / 1.023 GB, free: 1.176 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.2565, allocations: 11.94 kB / 1.023 GB, free: 1.164 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.2565, allocations: 11.89 kB / 1.023 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2565, allocations: 8 kB / 1.023 GB, free: 1.145 MB / 0.9792 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.0001502/0.2567, allocations: 160.5 kB / 1.023 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.2567, allocations: 11.95 kB / 1.023 GB, free: 0.9648 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.257, allocations: 102.5 kB / 1.023 GB, free: 0.8594 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.257, allocations: 4 kB / 1.023 GB, free: 0.8555 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.257, allocations: 7.938 kB / 1.023 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.257, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.2572, allocations: 136.5 kB / 1.023 GB, free: 0.6797 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2572, allocations: 0 / 1.023 GB, free: 0.6797 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.2573, allocations: 19.98 kB / 1.023 GB, free: 0.6602 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2573, allocations: 0 / 1.023 GB, free: 0.6602 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2573, allocations: 4 kB / 1.023 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2573, allocations: 0 / 1.023 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2573, allocations: 0 / 1.023 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.2576, allocations: 239.8 kB / 1.023 GB, free: 412 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.2576, allocations: 11.95 kB / 1.023 GB, free: 400 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.2577, allocations: 11.98 kB / 1.023 GB, free: 388 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.2577, allocations: 3.938 kB / 1.023 GB, free: 384 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2577, allocations: 11.98 kB / 1.023 GB, free: 372 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.2577, allocations: 3.938 kB / 1.023 GB, free: 368 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.543e-05/0.2578, allocations: 127.2 kB / 1.024 GB, free: 240 kB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2578, allocations: 0 / 1.024 GB, free: 240 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003933/0.2582, allocations: 79.73 kB / 1.024 GB, free: 160 kB / 0.9792 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.0005043/0.2587, allocations: 199 kB / 1.024 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.2589, allocations: 79.67 kB / 1.024 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2589, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.259, allocations: 39.61 kB / 1.024 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2593, allocations: 12.19 kB / 1.024 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.2598, allocations: 159.2 kB / 1.024 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.2599, allocations: 79.28 kB / 1.024 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.26, allocations: 48.8 kB / 1.024 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.2601, allocations: 16.5 kB / 1.024 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of SimCode: time 5.21e-07/0.2601, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of Templates: time 0.007275/0.2673, allocations: 1.964 MB / 1.026 GB, free: 13.57 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.653038440039381]