Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001264/0.001264, allocations: 106.5 kB / 16.41 MB, free: 6.488 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.001285/0.001285, allocations: 187 kB / 17.34 MB, free: 5.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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.828, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002405/0.8304, allocations: 1.345 MB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1839/1.014, allocations: 147.9 MB / 1.234 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/1.014, allocations: 0 / 1.234 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/1.014, allocations: 7.875 kB / 1.234 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/1.015, allocations: 37.28 kB / 1.234 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/1.016, allocations: 354.6 kB / 1.235 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/1.016, allocations: 73.53 kB / 1.235 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/1.017, allocations: 2.125 kB / 1.235 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/1.017, allocations: 30.5 kB / 1.235 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/1.017, allocations: 56.44 kB / 1.235 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/1.017, allocations: 2.938 kB / 1.235 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009685/1.018, allocations: 409.8 kB / 1.235 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/1.018, allocations: 32.62 kB / 1.235 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/1.018, allocations: 25.2 kB / 1.235 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007107/1.019, allocations: 276.2 kB / 1.236 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.019, allocations: 0 / 1.236 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/1.019, allocations: 0 / 1.236 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.019, allocations: 1.25 kB / 1.236 GB, free: 4.762 MB / 0.9669 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.0005974/1.019, allocations: 398.4 kB / 1.236 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.019, allocations: 9.281 kB / 1.236 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/1.019, allocations: 3.031 kB / 1.236 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/1.019, allocations: 173.7 kB / 1.236 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.02, allocations: 9.5 kB / 1.236 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/1.02, allocations: 6.391 kB / 1.236 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/1.02, allocations: 95.64 kB / 1.236 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.02, allocations: 0 / 1.236 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/1.02, allocations: 0 / 1.236 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/1.02, allocations: 12.84 kB / 1.236 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/1.02, allocations: 76.14 kB / 1.236 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/1.02, allocations: 341.8 kB / 1.237 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/1.021, allocations: 107.1 kB / 1.237 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/1.021, allocations: 50.61 kB / 1.237 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/1.022, allocations: 469.6 kB / 1.237 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/1.022, allocations: 35.66 kB / 1.237 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/1.022, allocations: 0 / 1.237 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002964/1.022, allocations: 131.1 kB / 1.237 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/1.022, allocations: 52.78 kB / 1.237 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/1.022, allocations: 117.7 kB / 1.238 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/1.022, allocations: 26.83 kB / 1.238 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/1.022, allocations: 98.36 kB / 1.238 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/1.022, allocations: 40.98 kB / 1.238 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/1.022, allocations: 40.47 kB / 1.238 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.022, allocations: 321.1 kB / 1.238 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/1.023, allocations: 31.89 kB / 1.238 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/1.023, allocations: 70.84 kB / 1.238 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/1.023, allocations: 123.3 kB / 1.238 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.023, allocations: 0 / 1.238 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002354/1.023, allocations: 133.2 kB / 1.238 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.023, allocations: 10.12 kB / 1.238 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.023, allocations: 5.031 kB / 1.238 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.023, allocations: 2.062 kB / 1.238 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.023, allocations: 33.88 kB / 1.238 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.023, allocations: 2.125 kB / 1.238 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/1.023, allocations: 11.06 kB / 1.239 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/1.023, allocations: 9.25 kB / 1.239 GB, free: 2.059 MB / 0.9669 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 9.058e-05/1.023, allocations: 125.8 kB / 1.239 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/1.023, allocations: 11.31 kB / 1.239 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/1.024, allocations: 118.6 kB / 1.239 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.024, allocations: 1.375 kB / 1.239 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.024, allocations: 5.312 kB / 1.239 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.024, allocations: 3.984 kB / 1.239 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/1.024, allocations: 176.9 kB / 1.239 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.024, allocations: 0 / 1.239 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/1.024, allocations: 21.73 kB / 1.239 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/1.024, allocations: 5.312 kB / 1.239 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/1.024, allocations: 1.375 kB / 1.239 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/1.024, allocations: 4 kB / 1.239 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.024, allocations: 1.375 kB / 1.239 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/1.024, allocations: 202 kB / 1.239 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/1.024, allocations: 94.5 kB / 1.239 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/1.024, allocations: 9.25 kB / 1.239 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/1.024, allocations: 1.375 kB / 1.239 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/1.024, allocations: 6.75 kB / 1.239 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/1.024, allocations: 3 kB / 1.239 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.628e-05/1.024, allocations: 95.52 kB / 1.239 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.024, allocations: 0 / 1.239 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004177/1.025, allocations: 76.11 kB / 1.239 GB, free: 1.227 MB / 0.9669 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.0004111/1.025, allocations: 188.4 kB / 1.24 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001901/1.026, allocations: 87.64 kB / 1.24 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.026, allocations: 0 / 1.24 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/1.026, allocations: 37.08 kB / 1.24 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/1.026, allocations: 20.92 kB / 1.24 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/1.026, allocations: 204.2 kB / 1.24 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/1.027, allocations: 0.6939 MB / 1.241 GB, free: 164 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/1.027, allocations: 15.84 kB / 1.241 GB, free: 156 kB / 0.9669 GB Notification: Performance of SimCode: time 1.91e-07/1.027, allocations: 0 / 1.241 GB, free: 156 kB / 0.9669 GB Notification: Performance of Templates: time 0.004172/1.031, allocations: 1.849 MB / 1.242 GB, free: 15.21 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches