Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001526/0.001526, allocations: 109.1 kB / 16.41 MB, free: 6.496 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.001611/0.001611, allocations: 187 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 72.09 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8857/0.8872, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002979/0.8902, allocations: 1.337 MB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1587/1.049, allocations: 147.9 MB / 1.354 GB, free: 7.848 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/1.049, allocations: 0 / 1.354 GB, free: 7.848 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/1.049, allocations: 3.984 kB / 1.354 GB, free: 7.844 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/1.049, allocations: 47.88 kB / 1.354 GB, free: 7.797 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/1.051, allocations: 354.5 kB / 1.355 GB, free: 7.449 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/1.051, allocations: 59.83 kB / 1.355 GB, free: 7.391 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/1.051, allocations: 11.97 kB / 1.355 GB, free: 7.379 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/1.051, allocations: 31.92 kB / 1.355 GB, free: 7.348 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/1.051, allocations: 55.88 kB / 1.355 GB, free: 7.293 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/1.051, allocations: 0 / 1.355 GB, free: 7.293 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008529/1.052, allocations: 411.1 kB / 1.355 GB, free: 6.891 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/1.052, allocations: 27.91 kB / 1.355 GB, free: 6.863 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/1.052, allocations: 31.84 kB / 1.355 GB, free: 6.832 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005996/1.053, allocations: 273.1 kB / 1.355 GB, free: 6.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.053, allocations: 0 / 1.355 GB, free: 6.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/1.053, allocations: 0 / 1.355 GB, free: 6.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.053, allocations: 0 / 1.355 GB, free: 6.57 MB / 1.076 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.0005035/1.053, allocations: 399.3 kB / 1.356 GB, free: 6.133 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.053, allocations: 8.031 kB / 1.356 GB, free: 6.125 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/1.053, allocations: 4.938 kB / 1.356 GB, free: 6.121 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/1.053, allocations: 164.3 kB / 1.356 GB, free: 5.922 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/1.053, allocations: 11.92 kB / 1.356 GB, free: 5.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/1.054, allocations: 7.938 kB / 1.356 GB, free: 5.902 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/1.054, allocations: 97.53 kB / 1.356 GB, free: 5.801 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/1.054, allocations: 3.984 kB / 1.356 GB, free: 5.797 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/1.054, allocations: 0 / 1.356 GB, free: 5.797 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/1.054, allocations: 16 kB / 1.356 GB, free: 5.781 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/1.054, allocations: 79.95 kB / 1.356 GB, free: 5.703 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/1.054, allocations: 336.6 kB / 1.356 GB, free: 5.324 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/1.055, allocations: 102.5 kB / 1.357 GB, free: 5.215 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/1.055, allocations: 56.89 kB / 1.357 GB, free: 5.156 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/1.056, allocations: 469.4 kB / 1.357 GB, free: 4.605 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/1.056, allocations: 30.56 kB / 1.357 GB, free: 4.566 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/1.056, allocations: 0 / 1.357 GB, free: 4.566 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0002725/1.056, allocations: 117.6 kB / 1.357 GB, free: 4.445 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/1.056, allocations: 59.34 kB / 1.357 GB, free: 4.375 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/1.056, allocations: 121.9 kB / 1.357 GB, free: 4.246 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/1.056, allocations: 25.8 kB / 1.357 GB, free: 4.215 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/1.056, allocations: 104 kB / 1.358 GB, free: 4.109 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/1.056, allocations: 43.39 kB / 1.358 GB, free: 4.066 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/1.056, allocations: 33.7 kB / 1.358 GB, free: 4.027 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.056, allocations: 318.8 kB / 1.358 GB, free: 3.707 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/1.056, allocations: 27.98 kB / 1.358 GB, free: 3.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/1.057, allocations: 73.12 kB / 1.358 GB, free: 3.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/1.057, allocations: 117.5 kB / 1.358 GB, free: 3.457 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.057, allocations: 4 kB / 1.358 GB, free: 3.453 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002026/1.057, allocations: 137.5 kB / 1.358 GB, free: 3.312 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.057, allocations: 4 kB / 1.358 GB, free: 3.309 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.057, allocations: 4.25 kB / 1.358 GB, free: 3.305 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.057, allocations: 0 / 1.358 GB, free: 3.305 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/1.057, allocations: 43.86 kB / 1.358 GB, free: 3.262 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.057, allocations: 0 / 1.358 GB, free: 3.262 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/1.057, allocations: 11.84 kB / 1.358 GB, free: 3.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/1.057, allocations: 4.156 kB / 1.358 GB, free: 3.246 MB / 1.076 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.591e-05/1.057, allocations: 129.8 kB / 1.358 GB, free: 3.109 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/1.057, allocations: 7.906 kB / 1.358 GB, free: 3.102 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/1.058, allocations: 122 kB / 1.359 GB, free: 2.977 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.058, allocations: 7.938 kB / 1.359 GB, free: 2.969 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.058, allocations: 0 / 1.359 GB, free: 2.969 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.058, allocations: 0 / 1.359 GB, free: 2.969 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/1.058, allocations: 189.5 kB / 1.359 GB, free: 2.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.058, allocations: 0 / 1.359 GB, free: 2.734 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/1.058, allocations: 19.92 kB / 1.359 GB, free: 2.715 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.058, allocations: 0 / 1.359 GB, free: 2.715 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.058, allocations: 8 kB / 1.359 GB, free: 2.707 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.058, allocations: 3.938 kB / 1.359 GB, free: 2.703 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.058, allocations: 0 / 1.359 GB, free: 2.703 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/1.058, allocations: 191.5 kB / 1.359 GB, free: 2.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/1.058, allocations: 89 kB / 1.359 GB, free: 2.395 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/1.058, allocations: 12 kB / 1.359 GB, free: 2.383 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/1.058, allocations: 3.938 kB / 1.359 GB, free: 2.379 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/1.058, allocations: 11.92 kB / 1.359 GB, free: 2.367 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/1.058, allocations: 4 kB / 1.359 GB, free: 2.363 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.45e-05/1.058, allocations: 87.27 kB / 1.359 GB, free: 2.277 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.058, allocations: 0 / 1.359 GB, free: 2.277 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003768/1.059, allocations: 79.92 kB / 1.359 GB, free: 2.199 MB / 1.076 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.0003758/1.059, allocations: 195 kB / 1.359 GB, free: 2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00018/1.059, allocations: 83.89 kB / 1.36 GB, free: 1.918 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.059, allocations: 0 / 1.36 GB, free: 1.918 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.356e-05/1.059, allocations: 43.86 kB / 1.36 GB, free: 1.875 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/1.06, allocations: 24.75 kB / 1.36 GB, free: 1.855 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/1.06, allocations: 192.5 kB / 1.36 GB, free: 1.637 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/1.06, allocations: 0.6924 MB / 1.36 GB, free: 0.918 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/1.06, allocations: 19.42 kB / 1.36 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of SimCode: time 2.1e-07/1.06, allocations: 0 / 1.36 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of Templates: time 0.004026/1.064, allocations: 1.842 MB / 1.362 GB, free: 15.07 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches