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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001765/0.001765, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 194 kB / 16.25 MB, free: 6.633 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.817/2.817, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 75.86 kB / 0.8688 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.8002, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002852/0.8031, allocations: 1.397 MB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1884/0.9915, allocations: 145.7 MB / 1.16 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.9916, allocations: 0 / 1.16 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.9917, allocations: 0 / 1.16 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.9919, allocations: 51.88 kB / 1.161 GB, free: 15 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.9931, allocations: 334.8 kB / 1.161 GB, free: 14.67 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.9933, allocations: 59.83 kB / 1.161 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.9933, allocations: 4 kB / 1.161 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.9934, allocations: 39.83 kB / 1.161 GB, free: 14.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.9935, allocations: 67.81 kB / 1.161 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.9935, allocations: 0 / 1.161 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007313/0.9943, allocations: 423.1 kB / 1.161 GB, free: 14.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.9943, allocations: 23.95 kB / 1.161 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.9944, allocations: 27.88 kB / 1.161 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.9949, allocations: 289.3 kB / 1.162 GB, free: 13.76 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.9949, allocations: 0 / 1.162 GB, free: 13.76 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9949, allocations: 0 / 1.162 GB, free: 13.76 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.9949, allocations: 0 / 1.162 GB, free: 13.76 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.0004558/0.9953, allocations: 399.3 kB / 1.162 GB, free: 13.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.9954, allocations: 19.97 kB / 1.162 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.9954, allocations: 12.84 kB / 1.162 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.9956, allocations: 164.4 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.9956, allocations: 11.88 kB / 1.162 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.9956, allocations: 4 kB / 1.162 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.9958, allocations: 93.59 kB / 1.162 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.9958, allocations: 3.938 kB / 1.162 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.9958, allocations: 0 / 1.162 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.9959, allocations: 11.98 kB / 1.162 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.996, allocations: 86.34 kB / 1.163 GB, free: 12.88 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.9965, allocations: 336.7 kB / 1.163 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.9967, allocations: 102.6 kB / 1.163 GB, free: 12.39 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.9968, allocations: 48.91 kB / 1.163 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009119/0.9977, allocations: 473.4 kB / 1.163 GB, free: 11.79 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.9978, allocations: 34.56 kB / 1.163 GB, free: 11.74 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.9978, allocations: 0 / 1.163 GB, free: 11.74 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002544/0.998, allocations: 121.5 kB / 1.164 GB, free: 11.62 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.9981, allocations: 59.33 kB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.9982, allocations: 113.9 kB / 1.164 GB, free: 11.43 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.9982, allocations: 29.7 kB / 1.164 GB, free: 11.39 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.9983, allocations: 96.19 kB / 1.164 GB, free: 11.29 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.9983, allocations: 43.38 kB / 1.164 GB, free: 11.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.9984, allocations: 33.7 kB / 1.164 GB, free: 11.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9985, allocations: 322.8 kB / 1.164 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.358e-05/0.9986, allocations: 27.98 kB / 1.164 GB, free: 10.86 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.446e-05/0.9987, allocations: 73.12 kB / 1.164 GB, free: 10.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.9989, allocations: 113.1 kB / 1.164 GB, free: 10.64 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9989, allocations: 0 / 1.164 GB, free: 10.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002187/0.9991, allocations: 149.8 kB / 1.165 GB, free: 10.49 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.9991, allocations: 4 kB / 1.165 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.9991, allocations: 0 / 1.165 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.9991, allocations: 4 kB / 1.165 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.9992, allocations: 31.86 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9993, allocations: 7.984 kB / 1.165 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.9993, allocations: 11.84 kB / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.9993, allocations: 8 kB / 1.165 GB, free: 10.42 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.0001101/0.9995, allocations: 129.9 kB / 1.165 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.9995, allocations: 4 kB / 1.165 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.9997, allocations: 121.9 kB / 1.165 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9998, allocations: 3.938 kB / 1.165 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9998, allocations: 8.234 kB / 1.165 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.9998, allocations: 0 / 1.165 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/1, allocations: 177.7 kB / 1.165 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1, allocations: 4 kB / 1.165 GB, free: 9.922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/1, allocations: 16 kB / 1.165 GB, free: 9.906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/1, allocations: 3.938 kB / 1.165 GB, free: 9.902 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1, allocations: 4 kB / 1.165 GB, free: 9.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1, allocations: 7.938 kB / 1.165 GB, free: 9.891 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1, allocations: 0 / 1.165 GB, free: 9.891 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/1, allocations: 203.3 kB / 1.165 GB, free: 9.676 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/1, allocations: 89.09 kB / 1.165 GB, free: 9.57 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1, allocations: 0 / 1.165 GB, free: 9.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.796e-05/1, allocations: 11.94 kB / 1.165 GB, free: 9.559 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/1.001, allocations: 3.984 kB / 1.165 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/1.001, allocations: 8 kB / 1.165 GB, free: 9.547 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.922e-05/1.001, allocations: 83.28 kB / 1.166 GB, free: 9.465 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.001, allocations: 0 / 1.166 GB, free: 9.465 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003598/1.001, allocations: 79.92 kB / 1.166 GB, free: 9.387 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.0003718/1.001, allocations: 199.6 kB / 1.166 GB, free: 9.18 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002012/1.002, allocations: 95.98 kB / 1.166 GB, free: 9.086 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.002, allocations: 0 / 1.166 GB, free: 9.086 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/1.002, allocations: 35.92 kB / 1.166 GB, free: 9.051 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/1.002, allocations: 15.98 kB / 1.166 GB, free: 9.035 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/1.002, allocations: 204.5 kB / 1.166 GB, free: 8.809 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.003, allocations: 0.6923 MB / 1.167 GB, free: 8.09 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001383/1.003, allocations: 52.88 kB / 1.167 GB, free: 8.039 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/1.003, allocations: 15.44 kB / 1.167 GB, free: 8.023 MB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/1.003, allocations: 0 / 1.167 GB, free: 8.023 MB / 0.92 GB Notification: Performance of Templates: time 0.005309/1.008, allocations: 1.893 MB / 1.169 GB, free: 6.18 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=400 -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/jenkins/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