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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001047/0.001047, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 180.6 kB / 16.92 MB, free: 6.652 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.734/2.734, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004222, allocations: 9.562 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3183, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001412/0.3197, allocations: 1.061 MB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.4763, allocations: 144 MB / 1.201 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.4764, allocations: 0 / 1.201 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.4765, allocations: 4 kB / 1.201 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.4767, allocations: 43.86 kB / 1.201 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.4779, allocations: 314.9 kB / 1.201 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.4781, allocations: 187.7 kB / 1.202 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.4782, allocations: 4 kB / 1.202 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.4782, allocations: 27.86 kB / 1.202 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.4784, allocations: 63.88 kB / 1.202 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.4784, allocations: 4 kB / 1.202 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008674/0.4793, allocations: 443 kB / 1.202 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.4793, allocations: 27.95 kB / 1.202 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.4794, allocations: 53.56 kB / 1.202 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.4798, allocations: 187.9 kB / 1.202 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4798, allocations: 0 / 1.202 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4798, allocations: 0 / 1.202 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.4798, allocations: 0 / 1.202 GB, free: 1.918 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.0004415/0.4803, allocations: 387.4 kB / 1.203 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.4803, allocations: 15.97 kB / 1.203 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.4804, allocations: 4.844 kB / 1.203 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.4805, allocations: 176.2 kB / 1.203 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.4805, allocations: 7.938 kB / 1.203 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.4806, allocations: 4 kB / 1.203 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.4807, allocations: 95.89 kB / 1.203 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4808, allocations: 0 / 1.203 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4808, allocations: 4 kB / 1.203 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.4808, allocations: 12 kB / 1.203 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.481, allocations: 79.95 kB / 1.203 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.4814, allocations: 340.6 kB / 1.203 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.4816, allocations: 106.5 kB / 1.204 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.014e-05/0.4817, allocations: 52.83 kB / 1.204 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000919/0.4826, allocations: 485.4 kB / 1.204 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.4826, allocations: 30.56 kB / 1.204 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.4826, allocations: 0 / 1.204 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002777/0.4829, allocations: 129.6 kB / 1.204 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.483, allocations: 63.28 kB / 1.204 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.4831, allocations: 109.8 kB / 1.204 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4831, allocations: 25.7 kB / 1.204 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.4832, allocations: 108.2 kB / 1.204 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.4832, allocations: 35.45 kB / 1.205 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.4832, allocations: 17.72 kB / 1.205 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4833, allocations: 322.8 kB / 1.205 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.4834, allocations: 31.98 kB / 1.205 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/0.4835, allocations: 69.12 kB / 1.205 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.4837, allocations: 117 kB / 1.205 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4837, allocations: 0 / 1.205 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001943/0.4839, allocations: 141.4 kB / 1.205 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4839, allocations: 8 kB / 1.205 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4839, allocations: 0 / 1.205 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4839, allocations: 4 kB / 1.205 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.484, allocations: 28.08 kB / 1.205 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4841, allocations: 11.94 kB / 1.205 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.4841, allocations: 11.84 kB / 1.205 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4841, allocations: 8 kB / 1.205 GB, free: 14.59 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.13e-05/0.4842, allocations: 121.8 kB / 1.205 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.4843, allocations: 7.984 kB / 1.205 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.4845, allocations: 126.4 kB / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4845, allocations: 3.938 kB / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4845, allocations: 256 / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4845, allocations: 0 / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.4847, allocations: 193.5 kB / 1.206 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4847, allocations: 0 / 1.206 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-05/0.4848, allocations: 23.98 kB / 1.206 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4848, allocations: 0 / 1.206 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.4848, allocations: 0 / 1.206 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4848, allocations: 3.938 kB / 1.206 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4848, allocations: 0 / 1.206 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.485, allocations: 199.4 kB / 1.206 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.4851, allocations: 93.09 kB / 1.206 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.4851, allocations: 3.984 kB / 1.206 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.4852, allocations: 3.938 kB / 1.206 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.4852, allocations: 8 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.4852, allocations: 4 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.4853, allocations: 87.27 kB / 1.206 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4853, allocations: 4 kB / 1.206 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003627/0.4856, allocations: 79.92 kB / 1.206 GB, free: 13.54 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.0003491/0.486, allocations: 175.1 kB / 1.206 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.4862, allocations: 84.2 kB / 1.206 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4862, allocations: 7.938 kB / 1.206 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.4862, allocations: 35.98 kB / 1.206 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.4865, allocations: 24.52 kB / 1.206 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.4869, allocations: 230.2 kB / 1.207 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.4872, allocations: 0.6965 MB / 1.207 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.4872, allocations: 15.44 kB / 1.207 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.4872, allocations: 0 / 1.207 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of Templates: time 0.003841/0.491, allocations: 1.833 MB / 1.209 GB, free: 10.39 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/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