Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009002/0.0009002, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 186.7 kB / 16.92 MB, free: 6.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005305, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8487/0.8493, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001689/0.851, allocations: 1.063 MB / 1.025 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1653/1.016, allocations: 144 MB / 1.165 GB, free: 14.26 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/1.016, allocations: 0 / 1.165 GB, free: 14.26 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.356e-05/1.017, allocations: 7.922 kB / 1.165 GB, free: 14.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/1.017, allocations: 43.92 kB / 1.165 GB, free: 14.21 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/1.018, allocations: 318.8 kB / 1.166 GB, free: 13.89 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/1.018, allocations: 183.7 kB / 1.166 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/1.018, allocations: 11.97 kB / 1.166 GB, free: 13.7 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/1.018, allocations: 27.92 kB / 1.166 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/1.019, allocations: 59.88 kB / 1.166 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/1.019, allocations: 0 / 1.166 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009436/1.02, allocations: 439 kB / 1.166 GB, free: 13.19 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/1.02, allocations: 27.95 kB / 1.166 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/1.02, allocations: 53.56 kB / 1.167 GB, free: 13.1 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004712/1.02, allocations: 193.6 kB / 1.167 GB, free: 12.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.02, allocations: 0 / 1.167 GB, free: 12.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.324e-06/1.02, allocations: 3.938 kB / 1.167 GB, free: 12.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.679e-06/1.02, allocations: 0 / 1.167 GB, free: 12.91 MB / 0.92 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.0005092/1.021, allocations: 401 kB / 1.167 GB, free: 12.47 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.021, allocations: 11.98 kB / 1.167 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/1.021, allocations: 8.844 kB / 1.167 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.021, allocations: 164.4 kB / 1.167 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.021, allocations: 3.938 kB / 1.167 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/1.021, allocations: 8 kB / 1.167 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/1.021, allocations: 93.59 kB / 1.167 GB, free: 12.14 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.021, allocations: 0 / 1.167 GB, free: 12.14 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.021, allocations: 4 kB / 1.167 GB, free: 12.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/1.021, allocations: 15.92 kB / 1.167 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/1.021, allocations: 75.95 kB / 1.167 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/1.022, allocations: 336.7 kB / 1.168 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/1.022, allocations: 102.5 kB / 1.168 GB, free: 11.56 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/1.022, allocations: 56.83 kB / 1.168 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009775/1.023, allocations: 489.5 kB / 1.168 GB, free: 10.93 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.023, allocations: 34.56 kB / 1.168 GB, free: 10.89 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/1.023, allocations: 0 / 1.168 GB, free: 10.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002973/1.024, allocations: 121.6 kB / 1.169 GB, free: 10.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.024, allocations: 55.34 kB / 1.169 GB, free: 10.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/1.024, allocations: 117.9 kB / 1.169 GB, free: 10.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/1.024, allocations: 29.7 kB / 1.169 GB, free: 10.54 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/1.024, allocations: 100.1 kB / 1.169 GB, free: 10.44 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/1.024, allocations: 39.39 kB / 1.169 GB, free: 10.4 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/1.024, allocations: 21.7 kB / 1.169 GB, free: 10.37 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.024, allocations: 318.8 kB / 1.169 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/1.024, allocations: 31.97 kB / 1.169 GB, free: 10.02 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.745e-05/1.024, allocations: 69.08 kB / 1.169 GB, free: 9.934 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/1.024, allocations: 113.1 kB / 1.169 GB, free: 9.805 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.024, allocations: 4 kB / 1.169 GB, free: 9.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002276/1.025, allocations: 149.8 kB / 1.17 GB, free: 9.648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.025, allocations: 4 kB / 1.17 GB, free: 9.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.025, allocations: 0 / 1.17 GB, free: 9.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/1.025, allocations: 4 kB / 1.17 GB, free: 9.641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/1.025, allocations: 31.86 kB / 1.17 GB, free: 9.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.025, allocations: 4 kB / 1.17 GB, free: 9.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/1.025, allocations: 11.94 kB / 1.17 GB, free: 9.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/1.025, allocations: 11.97 kB / 1.17 GB, free: 9.582 MB / 0.92 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.0001044/1.025, allocations: 122.5 kB / 1.17 GB, free: 9.453 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/1.025, allocations: 11.91 kB / 1.17 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/1.025, allocations: 122 kB / 1.17 GB, free: 9.32 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.025, allocations: 3.938 kB / 1.17 GB, free: 9.316 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.025, allocations: 0 / 1.17 GB, free: 9.316 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.025, allocations: 0 / 1.17 GB, free: 9.316 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/1.026, allocations: 185.5 kB / 1.17 GB, free: 9.086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.026, allocations: 0 / 1.17 GB, free: 9.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/1.026, allocations: 20.25 kB / 1.17 GB, free: 9.066 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.026, allocations: 3.938 kB / 1.17 GB, free: 9.062 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/1.026, allocations: 7.984 kB / 1.17 GB, free: 9.055 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/1.026, allocations: 3.938 kB / 1.17 GB, free: 9.051 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.026, allocations: 7.938 kB / 1.17 GB, free: 9.043 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/1.026, allocations: 187.7 kB / 1.17 GB, free: 8.844 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/1.026, allocations: 100.9 kB / 1.17 GB, free: 8.727 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/1.026, allocations: 0 / 1.17 GB, free: 8.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/1.026, allocations: 11.94 kB / 1.17 GB, free: 8.715 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/1.026, allocations: 7.984 kB / 1.17 GB, free: 8.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/1.026, allocations: 4 kB / 1.17 GB, free: 8.703 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.236e-05/1.026, allocations: 91.27 kB / 1.17 GB, free: 8.613 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.71e-07/1.026, allocations: 0 / 1.17 GB, free: 8.613 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004024/1.027, allocations: 67.94 kB / 1.171 GB, free: 8.547 MB / 0.92 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.000396/1.027, allocations: 195 kB / 1.171 GB, free: 8.344 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002045/1.027, allocations: 79.91 kB / 1.171 GB, free: 8.266 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.027, allocations: 3.938 kB / 1.171 GB, free: 8.262 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/1.027, allocations: 31.98 kB / 1.171 GB, free: 8.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/1.028, allocations: 18.09 kB / 1.171 GB, free: 8.215 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/1.028, allocations: 237.2 kB / 1.171 GB, free: 7.953 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/1.028, allocations: 0.6887 MB / 1.172 GB, free: 7.238 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/1.028, allocations: 19.42 kB / 1.172 GB, free: 7.219 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/1.028, allocations: 0 / 1.172 GB, free: 7.219 MB / 0.92 GB Notification: Performance of Templates: time 0.004073/1.032, allocations: 1.832 MB / 1.174 GB, free: 5.395 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches