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.001369/0.001369, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001476/0.001476, allocations: 191.1 kB / 16.14 MB, free: 6.711 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.639/2.639, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.11 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3359, allocations: 157.4 MB / 1.052 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.0025/0.3384, allocations: 1.396 MB / 1.053 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1483/0.4867, allocations: 145.6 MB / 1.196 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.4868, allocations: 0 / 1.196 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.4869, allocations: 4 kB / 1.196 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.4871, allocations: 43.86 kB / 1.196 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.4882, allocations: 314.8 kB / 1.196 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.4884, allocations: 187.7 kB / 1.196 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.4884, allocations: 15.88 kB / 1.196 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.4885, allocations: 23.98 kB / 1.196 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.4886, allocations: 59.88 kB / 1.196 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.4886, allocations: 0 / 1.196 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008409/0.4895, allocations: 443 kB / 1.197 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.4896, allocations: 27.95 kB / 1.197 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.4896, allocations: 23.88 kB / 1.197 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.4902, allocations: 287.6 kB / 1.197 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4902, allocations: 0 / 1.197 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4902, allocations: 0 / 1.197 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.4903, allocations: 8 kB / 1.197 GB, free: 3.82 MB / 0.9512 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.0004359/0.4907, allocations: 395.3 kB / 1.197 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4907, allocations: 12.03 kB / 1.197 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.4908, allocations: 4.844 kB / 1.197 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4909, allocations: 168.3 kB / 1.198 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4909, allocations: 3.938 kB / 1.198 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.491, allocations: 7.984 kB / 1.198 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.4911, allocations: 100.5 kB / 1.198 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.4912, allocations: 4 kB / 1.198 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4912, allocations: 4 kB / 1.198 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.4912, allocations: 11.98 kB / 1.198 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.4914, allocations: 79.95 kB / 1.198 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.4918, allocations: 332.7 kB / 1.198 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.492, allocations: 102.5 kB / 1.198 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/0.4921, allocations: 52.91 kB / 1.198 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009257/0.493, allocations: 473.4 kB / 1.199 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.4931, allocations: 34.56 kB / 1.199 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.4931, allocations: 0 / 1.199 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0002723/0.4934, allocations: 121.6 kB / 1.199 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4934, allocations: 67.28 kB / 1.199 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.4935, allocations: 113.8 kB / 1.199 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4935, allocations: 29.7 kB / 1.199 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.4936, allocations: 96.27 kB / 1.199 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.4936, allocations: 39.45 kB / 1.199 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.4937, allocations: 33.7 kB / 1.199 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4938, allocations: 310.8 kB / 1.2 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.545e-05/0.4939, allocations: 35.97 kB / 1.2 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.494, allocations: 73.14 kB / 1.2 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.4941, allocations: 121.3 kB / 1.2 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4941, allocations: 0 / 1.2 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002107/0.4943, allocations: 137.4 kB / 1.2 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4943, allocations: 9.25 kB / 1.2 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4944, allocations: 0 / 1.2 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4944, allocations: 4 kB / 1.2 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4945, allocations: 31.86 kB / 1.2 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4945, allocations: 0 / 1.2 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.4946, allocations: 20 kB / 1.2 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.4946, allocations: 11.98 kB / 1.2 GB, free: 0.4961 MB / 0.9512 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.454e-05/0.4947, allocations: 123.3 kB / 1.2 GB, free: 376 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.4947, allocations: 3.906 kB / 1.2 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.495, allocations: 130 kB / 1.2 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.495, allocations: 3.938 kB / 1.2 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.495, allocations: 4.25 kB / 1.2 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.495, allocations: 0 / 1.2 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.4952, allocations: 189.6 kB / 1.2 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4952, allocations: 0 / 1.2 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.4953, allocations: 15.94 kB / 1.2 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4953, allocations: 7.984 kB / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.4953, allocations: 0 / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4953, allocations: 3.938 kB / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4953, allocations: 0 / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.4955, allocations: 203.4 kB / 1.201 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.4956, allocations: 93 kB / 1.201 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.4956, allocations: 0 / 1.201 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-05/0.4957, allocations: 7.938 kB / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.4957, allocations: 7.984 kB / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.4957, allocations: 0 / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.4958, allocations: 95.2 kB / 1.201 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4958, allocations: 4 kB / 1.201 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003561/0.4961, allocations: 67.94 kB / 1.201 GB, free: 15.45 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.0003404/0.4965, allocations: 191 kB / 1.201 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.4967, allocations: 83.84 kB / 1.201 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4967, allocations: 0 / 1.201 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/0.4967, allocations: 40.23 kB / 1.201 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.497, allocations: 19.92 kB / 1.201 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.4974, allocations: 196.4 kB / 1.201 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.4977, allocations: 0.6926 MB / 1.202 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.4978, allocations: 57.08 kB / 1.202 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.4978, allocations: 11.44 kB / 1.202 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.4979, allocations: 0 / 1.202 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of Templates: time 0.004762/0.5026, allocations: 1.872 MB / 1.204 GB, free: 12.29 MB / 0.9669 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/jenkins/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