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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001303/0.001303, 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.001164/0.001164, allocations: 193 kB / 16.14 MB, free: 6.719 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.705/2.705, allocations: 472.6 MB / 0.7447 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.77 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3239, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002837/0.3268, allocations: 1.394 MB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.479, allocations: 145.6 MB / 1.211 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.4791, allocations: 0 / 1.211 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.988e-05/0.4792, allocations: 7.922 kB / 1.211 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.4794, allocations: 39.94 kB / 1.211 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.4807, allocations: 318.8 kB / 1.211 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.481, allocations: 191.6 kB / 1.212 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.481, allocations: 0 / 1.212 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.4811, allocations: 31.97 kB / 1.212 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.4812, allocations: 59.88 kB / 1.212 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.4813, allocations: 0 / 1.212 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009147/0.4822, allocations: 450.9 kB / 1.212 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.4823, allocations: 31.89 kB / 1.212 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.4823, allocations: 23.94 kB / 1.212 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.4829, allocations: 287.6 kB / 1.212 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4829, allocations: 0 / 1.212 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4829, allocations: 0 / 1.212 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4829, allocations: 4 kB / 1.212 GB, free: 5.828 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.0004732/0.4834, allocations: 403.2 kB / 1.213 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4835, allocations: 8.031 kB / 1.213 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.4835, allocations: 4.938 kB / 1.213 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.4836, allocations: 172.2 kB / 1.213 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4836, allocations: 3.938 kB / 1.213 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.4836, allocations: 11.92 kB / 1.213 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.4838, allocations: 93.66 kB / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.4838, allocations: 0 / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4839, allocations: 4 kB / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.4839, allocations: 8 kB / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.484, allocations: 87.94 kB / 1.213 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.4845, allocations: 336.6 kB / 1.214 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.4847, allocations: 102.5 kB / 1.214 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.4848, allocations: 52.89 kB / 1.214 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009199/0.4857, allocations: 465.4 kB / 1.214 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4857, allocations: 42.48 kB / 1.214 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.4858, allocations: 0 / 1.214 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002688/0.486, allocations: 121.6 kB / 1.214 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.4861, allocations: 55.34 kB / 1.214 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.4862, allocations: 117.8 kB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4862, allocations: 25.7 kB / 1.215 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.4863, allocations: 104.2 kB / 1.215 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.4863, allocations: 39.45 kB / 1.215 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.4863, allocations: 29.72 kB / 1.215 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4865, allocations: 318.8 kB / 1.215 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.4865, allocations: 31.98 kB / 1.215 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.4866, allocations: 73.12 kB / 1.215 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4868, allocations: 113 kB / 1.215 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4868, allocations: 4 kB / 1.215 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000217/0.487, allocations: 129.5 kB / 1.215 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.487, allocations: 8 kB / 1.215 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.487, allocations: 7.875 kB / 1.215 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4871, allocations: 4 kB / 1.215 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4872, allocations: 27.92 kB / 1.215 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.4872, allocations: 4 kB / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.4872, allocations: 16 kB / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.4873, allocations: 11.94 kB / 1.215 GB, free: 2.504 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.0001128/0.4874, allocations: 127.1 kB / 1.216 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.4874, allocations: 7.906 kB / 1.216 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.4876, allocations: 118.5 kB / 1.216 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4877, allocations: 3.938 kB / 1.216 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4877, allocations: 4 kB / 1.216 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4877, allocations: 3.984 kB / 1.216 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.4879, allocations: 185.5 kB / 1.216 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4879, allocations: 0 / 1.216 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.841e-05/0.488, allocations: 23.92 kB / 1.216 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.488, allocations: 256 / 1.216 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.488, allocations: 0 / 1.216 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.488, allocations: 7.938 kB / 1.216 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.488, allocations: 4 kB / 1.216 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.4882, allocations: 199.5 kB / 1.216 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.4883, allocations: 93 kB / 1.216 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.4883, allocations: 4 kB / 1.216 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.4883, allocations: 3.938 kB / 1.216 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.4884, allocations: 7.984 kB / 1.216 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.4884, allocations: 11.92 kB / 1.216 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.4884, allocations: 87.28 kB / 1.216 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4884, allocations: 0 / 1.216 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003598/0.4888, allocations: 71.92 kB / 1.216 GB, free: 1.457 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.0003579/0.4892, allocations: 195 kB / 1.217 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4894, allocations: 83.89 kB / 1.217 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4894, allocations: 0 / 1.217 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.4894, allocations: 36.23 kB / 1.217 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4897, allocations: 21.95 kB / 1.217 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.4901, allocations: 194.2 kB / 1.217 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.4903, allocations: 0.6888 MB / 1.218 GB, free: 196 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000137/0.4905, allocations: 57.08 kB / 1.218 GB, free: 140 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.4905, allocations: 19.38 kB / 1.218 GB, free: 120 kB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.4905, allocations: 0 / 1.218 GB, free: 120 kB / 0.9669 GB Notification: Performance of Templates: time 0.004724/0.4953, allocations: 1.857 MB / 1.219 GB, free: 14.31 MB / 0.9825 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