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.00136/0.00136, allocations: 112.3 kB / 16.41 MB, free: 6.492 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.001358/0.001358, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.69/2.69, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002959/0.002959, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8712/0.8742, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002504/0.8767, allocations: 1.335 MB / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1775/1.054, allocations: 147.9 MB / 1.313 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/1.054, allocations: 0 / 1.313 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/1.054, allocations: 3.984 kB / 1.313 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/1.055, allocations: 47.73 kB / 1.313 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/1.056, allocations: 362.5 kB / 1.313 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/1.056, allocations: 67.8 kB / 1.314 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/1.056, allocations: 4 kB / 1.314 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/1.056, allocations: 31.92 kB / 1.314 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/1.056, allocations: 51.88 kB / 1.314 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/1.056, allocations: 0 / 1.314 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008639/1.057, allocations: 415.1 kB / 1.314 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/1.057, allocations: 27.89 kB / 1.314 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/1.057, allocations: 35.86 kB / 1.314 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005542/1.058, allocations: 269.5 kB / 1.314 GB, free: 12.8 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.058, allocations: 4 kB / 1.314 GB, free: 12.79 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.263e-06/1.058, allocations: 0 / 1.314 GB, free: 12.79 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.501e-06/1.058, allocations: 0 / 1.314 GB, free: 12.79 MB / 1.045 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.0004845/1.058, allocations: 402.8 kB / 1.315 GB, free: 12.35 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.058, allocations: 12.88 kB / 1.315 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/1.058, allocations: 4.938 kB / 1.315 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/1.059, allocations: 164.3 kB / 1.315 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.059, allocations: 7.938 kB / 1.315 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/1.059, allocations: 11.98 kB / 1.315 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/1.059, allocations: 89.66 kB / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.059, allocations: 3.938 kB / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/1.059, allocations: 0 / 1.315 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/1.059, allocations: 8 kB / 1.315 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/1.059, allocations: 81.92 kB / 1.315 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/1.06, allocations: 348.6 kB / 1.315 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/1.06, allocations: 102.6 kB / 1.316 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/1.06, allocations: 56.89 kB / 1.316 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008899/1.061, allocations: 465.4 kB / 1.316 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/1.061, allocations: 34.56 kB / 1.316 GB, free: 10.79 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/1.061, allocations: 0 / 1.316 GB, free: 10.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0002864/1.061, allocations: 129.5 kB / 1.316 GB, free: 10.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/1.061, allocations: 55.34 kB / 1.316 GB, free: 10.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.061, allocations: 113.8 kB / 1.316 GB, free: 10.46 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/1.061, allocations: 25.7 kB / 1.316 GB, free: 10.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/1.061, allocations: 104.3 kB / 1.316 GB, free: 10.33 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/1.061, allocations: 39.67 kB / 1.316 GB, free: 10.29 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/1.061, allocations: 29.72 kB / 1.317 GB, free: 10.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.062, allocations: 330.8 kB / 1.317 GB, free: 9.922 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/1.062, allocations: 27.98 kB / 1.317 GB, free: 9.895 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/1.062, allocations: 73.06 kB / 1.317 GB, free: 9.805 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/1.062, allocations: 117.1 kB / 1.317 GB, free: 9.672 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.062, allocations: 4 kB / 1.317 GB, free: 9.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002252/1.062, allocations: 141.8 kB / 1.317 GB, free: 9.523 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.062, allocations: 10.5 kB / 1.317 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.062, allocations: 160 / 1.317 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/1.062, allocations: 8 kB / 1.317 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.062, allocations: 31.86 kB / 1.317 GB, free: 9.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.062, allocations: 7.984 kB / 1.317 GB, free: 9.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/1.062, allocations: 7.953 kB / 1.317 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/1.062, allocations: 8 kB / 1.317 GB, free: 9.453 MB / 1.045 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.0001049/1.063, allocations: 125.7 kB / 1.317 GB, free: 9.32 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/1.063, allocations: 11.94 kB / 1.317 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/1.063, allocations: 118 kB / 1.317 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.063, allocations: 3.938 kB / 1.317 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.063, allocations: 256 / 1.317 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.063, allocations: 0 / 1.317 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/1.063, allocations: 181.7 kB / 1.318 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.063, allocations: 0 / 1.318 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/1.063, allocations: 23.97 kB / 1.318 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.063, allocations: 3.938 kB / 1.318 GB, free: 8.922 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/1.063, allocations: 4 kB / 1.318 GB, free: 8.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.063, allocations: 3.938 kB / 1.318 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.063, allocations: 4 kB / 1.318 GB, free: 8.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/1.063, allocations: 195.6 kB / 1.318 GB, free: 8.703 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/1.063, allocations: 101 kB / 1.318 GB, free: 8.586 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/1.064, allocations: 3.984 kB / 1.318 GB, free: 8.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.939e-05/1.064, allocations: 3.938 kB / 1.318 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/1.064, allocations: 7.938 kB / 1.318 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/1.064, allocations: 8 kB / 1.318 GB, free: 8.562 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.312e-05/1.064, allocations: 91.27 kB / 1.318 GB, free: 8.473 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.064, allocations: 0 / 1.318 GB, free: 8.473 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003731/1.064, allocations: 79.73 kB / 1.318 GB, free: 8.395 MB / 1.045 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.0003602/1.064, allocations: 190.8 kB / 1.318 GB, free: 8.199 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001974/1.065, allocations: 83.95 kB / 1.318 GB, free: 8.117 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.065, allocations: 0 / 1.318 GB, free: 8.117 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.986e-05/1.065, allocations: 43.86 kB / 1.318 GB, free: 8.074 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/1.065, allocations: 15.98 kB / 1.318 GB, free: 8.059 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/1.065, allocations: 170.7 kB / 1.319 GB, free: 7.863 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/1.066, allocations: 0.6885 MB / 1.319 GB, free: 7.148 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000126/1.066, allocations: 57.22 kB / 1.319 GB, free: 7.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/1.066, allocations: 11.44 kB / 1.319 GB, free: 7.082 MB / 1.045 GB Notification: Performance of SimCode: time 2.4e-07/1.066, allocations: 0 / 1.319 GB, free: 7.082 MB / 1.045 GB Notification: Performance of Templates: time 0.005488/1.071, allocations: 1.926 MB / 1.321 GB, free: 5.207 MB / 1.045 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 -s cvode -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