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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007793/0.007794, allocations: 109.2 kB / 15.71 MB, free: 5.977 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.001073/0.001073, allocations: 189.5 kB / 16.64 MB, free: 5.914 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.448/1.448, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.3 MB / 0.6648 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.12 kB / 0.9509 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9026/0.9039, allocations: 140.4 MB / 1.088 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002177/0.9061, allocations: 1.337 MB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1837/1.09, allocations: 147.9 MB / 1.234 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/1.09, allocations: 0 / 1.234 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.354e-05/1.09, allocations: 0.75 kB / 1.234 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001883/1.09, allocations: 40.88 kB / 1.234 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/1.092, allocations: 362.3 kB / 1.234 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/1.092, allocations: 64.94 kB / 1.234 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/1.092, allocations: 3.25 kB / 1.234 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/1.092, allocations: 34.5 kB / 1.234 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/1.092, allocations: 52.97 kB / 1.234 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/1.092, allocations: 5.219 kB / 1.234 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008692/1.093, allocations: 406.2 kB / 1.235 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/1.093, allocations: 28.22 kB / 1.235 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/1.093, allocations: 29.08 kB / 1.235 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/1.094, allocations: 276.8 kB / 1.235 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.094, allocations: 0 / 1.235 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.815e-06/1.094, allocations: 1.094 kB / 1.235 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.17e-06/1.094, allocations: 0 / 1.235 GB, free: 4.727 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.0004262/1.094, allocations: 398.2 kB / 1.235 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.094, allocations: 9.469 kB / 1.235 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/1.094, allocations: 8.281 kB / 1.235 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.094, allocations: 168.7 kB / 1.236 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/1.094, allocations: 1.156 kB / 1.236 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/1.094, allocations: 6.469 kB / 1.236 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/1.095, allocations: 103.8 kB / 1.236 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.095, allocations: 0 / 1.236 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/1.095, allocations: 0 / 1.236 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/1.095, allocations: 9.031 kB / 1.236 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/1.095, allocations: 79.48 kB / 1.236 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/1.095, allocations: 339 kB / 1.236 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/1.095, allocations: 102 kB / 1.236 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.367e-05/1.096, allocations: 60.05 kB / 1.236 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008348/1.096, allocations: 472.5 kB / 1.237 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/1.096, allocations: 31.69 kB / 1.237 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/1.096, allocations: 1.344 kB / 1.237 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002828/1.097, allocations: 125.9 kB / 1.237 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/1.097, allocations: 56.47 kB / 1.237 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.308e-05/1.097, allocations: 118.3 kB / 1.237 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/1.097, allocations: 27.02 kB / 1.237 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/1.097, allocations: 106.4 kB / 1.237 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/1.097, allocations: 41.05 kB / 1.237 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/1.097, allocations: 32.72 kB / 1.237 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/1.097, allocations: 321.3 kB / 1.237 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/1.097, allocations: 27.7 kB / 1.237 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/1.097, allocations: 70.62 kB / 1.238 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/1.097, allocations: 122.5 kB / 1.238 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.097, allocations: 1.094 kB / 1.238 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001983/1.098, allocations: 137.2 kB / 1.238 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.098, allocations: 9.625 kB / 1.238 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.098, allocations: 1.281 kB / 1.238 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.098, allocations: 2.281 kB / 1.238 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.098, allocations: 33.39 kB / 1.238 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.098, allocations: 2.312 kB / 1.238 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/1.098, allocations: 11.31 kB / 1.238 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/1.098, allocations: 4.781 kB / 1.238 GB, free: 2.031 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.411e-05/1.098, allocations: 135 kB / 1.238 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/1.098, allocations: 11.22 kB / 1.238 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/1.098, allocations: 114.9 kB / 1.238 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.098, allocations: 1.375 kB / 1.238 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.098, allocations: 0 / 1.238 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.098, allocations: 5.312 kB / 1.238 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/1.098, allocations: 179.5 kB / 1.238 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.098, allocations: 0 / 1.238 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/1.099, allocations: 23.05 kB / 1.238 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.099, allocations: 7.938 kB / 1.238 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/1.099, allocations: 5.375 kB / 1.238 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.099, allocations: 1.375 kB / 1.238 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.099, allocations: 256 / 1.238 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/1.099, allocations: 198.1 kB / 1.239 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/1.099, allocations: 91.88 kB / 1.239 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/1.099, allocations: 11.94 kB / 1.239 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/1.099, allocations: 5.375 kB / 1.239 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/1.099, allocations: 4.125 kB / 1.239 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/1.099, allocations: 5.375 kB / 1.239 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.211e-05/1.099, allocations: 87.52 kB / 1.239 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.099, allocations: 3.938 kB / 1.239 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003776/1.099, allocations: 81.55 kB / 1.239 GB, free: 1.191 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.0003418/1.1, allocations: 183.7 kB / 1.239 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001652/1.1, allocations: 82.64 kB / 1.239 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.1, allocations: 5.031 kB / 1.239 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/1.1, allocations: 40.83 kB / 1.239 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/1.1, allocations: 15.42 kB / 1.239 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/1.101, allocations: 186.5 kB / 1.239 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/1.101, allocations: 0.6875 MB / 1.24 GB, free: 164 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001169/1.101, allocations: 56.64 kB / 1.24 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/1.101, allocations: 13.53 kB / 1.24 GB, free: 128 kB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/1.101, allocations: 0 / 1.24 GB, free: 128 kB / 0.9669 GB Notification: Performance of Templates: time 0.005035/1.106, allocations: 1.897 MB / 1.242 GB, free: 15.19 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/jenkins/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