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.00131/0.00131, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001308/0.001308, allocations: 186.2 kB / 17.34 MB, free: 5.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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.18 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.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 67.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.8578, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002482/0.8604, allocations: 1.324 MB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1913/1.052, allocations: 147.9 MB / 1.234 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/1.052, allocations: 3.938 kB / 1.234 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/1.052, allocations: 0 / 1.234 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002004/1.052, allocations: 41.23 kB / 1.234 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/1.054, allocations: 366.1 kB / 1.235 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/1.054, allocations: 64.67 kB / 1.235 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/1.054, allocations: 2.812 kB / 1.235 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/1.054, allocations: 34.95 kB / 1.235 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/1.054, allocations: 48.23 kB / 1.235 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/1.054, allocations: 2.188 kB / 1.235 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/1.055, allocations: 418.8 kB / 1.235 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/1.055, allocations: 31.8 kB / 1.235 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.525e-05/1.055, allocations: 29.62 kB / 1.235 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007267/1.056, allocations: 268.2 kB / 1.236 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.056, allocations: 1.188 kB / 1.236 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/1.056, allocations: 0 / 1.236 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.012e-06/1.056, allocations: 0 / 1.236 GB, free: 4.805 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.0005571/1.057, allocations: 407 kB / 1.236 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/1.057, allocations: 9.031 kB / 1.236 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/1.057, allocations: 3.062 kB / 1.236 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.057, allocations: 169.7 kB / 1.236 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.057, allocations: 1.062 kB / 1.236 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/1.057, allocations: 6.188 kB / 1.236 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/1.057, allocations: 96.67 kB / 1.236 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.057, allocations: 0 / 1.236 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/1.057, allocations: 5.031 kB / 1.236 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/1.057, allocations: 13.02 kB / 1.236 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/1.057, allocations: 79.86 kB / 1.236 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/1.058, allocations: 333.3 kB / 1.237 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/1.058, allocations: 102.9 kB / 1.237 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/1.058, allocations: 48.19 kB / 1.237 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009134/1.059, allocations: 480.9 kB / 1.237 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.059, allocations: 43.62 kB / 1.237 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/1.059, allocations: 4 kB / 1.237 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003054/1.059, allocations: 121.9 kB / 1.237 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.059, allocations: 52.62 kB / 1.237 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/1.06, allocations: 115.2 kB / 1.238 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/1.06, allocations: 30.7 kB / 1.238 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/1.06, allocations: 90.31 kB / 1.238 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/1.06, allocations: 39.86 kB / 1.238 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/1.06, allocations: 37.33 kB / 1.238 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.06, allocations: 325.4 kB / 1.238 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/1.06, allocations: 28.11 kB / 1.238 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/1.06, allocations: 73.84 kB / 1.238 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/1.06, allocations: 118.8 kB / 1.238 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.06, allocations: 1.125 kB / 1.238 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002462/1.06, allocations: 133.5 kB / 1.238 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.061, allocations: 8.594 kB / 1.238 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.061, allocations: 2.438 kB / 1.238 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.061, allocations: 10.47 kB / 1.238 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/1.061, allocations: 28.77 kB / 1.238 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.061, allocations: 2.438 kB / 1.238 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/1.061, allocations: 15.47 kB / 1.239 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/1.061, allocations: 4.625 kB / 1.239 GB, free: 2.105 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 0.0001095/1.061, allocations: 121.8 kB / 1.239 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/1.061, allocations: 11.19 kB / 1.239 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/1.061, allocations: 131.2 kB / 1.239 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.061, allocations: 1.188 kB / 1.239 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.061, allocations: 1.188 kB / 1.239 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.061, allocations: 0 / 1.239 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/1.061, allocations: 181 kB / 1.239 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.061, allocations: 3.984 kB / 1.239 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/1.061, allocations: 13.75 kB / 1.239 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.061, allocations: 5.312 kB / 1.239 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.062, allocations: 5.359 kB / 1.239 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.062, allocations: 0 / 1.239 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.062, allocations: 9.312 kB / 1.239 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/1.062, allocations: 198.1 kB / 1.239 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/1.062, allocations: 94.5 kB / 1.239 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/1.062, allocations: 5.562 kB / 1.239 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/1.062, allocations: 9.375 kB / 1.239 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/1.062, allocations: 6.734 kB / 1.239 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/1.062, allocations: 2.75 kB / 1.239 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.613e-05/1.062, allocations: 95.47 kB / 1.239 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.81e-07/1.062, allocations: 0 / 1.239 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004171/1.062, allocations: 72.17 kB / 1.239 GB, free: 1.27 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.0004378/1.063, allocations: 185.1 kB / 1.24 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001941/1.063, allocations: 95.05 kB / 1.24 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.063, allocations: 0 / 1.24 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/1.063, allocations: 32.73 kB / 1.24 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/1.063, allocations: 14.86 kB / 1.24 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/1.064, allocations: 210.2 kB / 1.24 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/1.064, allocations: 0.6906 MB / 1.241 GB, free: 212 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/1.064, allocations: 23.41 kB / 1.241 GB, free: 196 kB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/1.064, allocations: 0 / 1.241 GB, free: 196 kB / 0.9669 GB Notification: Performance of Templates: time 0.004389/1.069, allocations: 1.845 MB / 1.242 GB, free: 15.26 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