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.006614/0.006614, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001576/0.001576, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.836/2.836, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 70.69 kB / 0.8991 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3195, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002941/0.3225, allocations: 1.4 MB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.4766, allocations: 145.6 MB / 1.196 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.4767, allocations: 3.938 kB / 1.196 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.324e-05/0.4768, allocations: 7.984 kB / 1.196 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.477, allocations: 35.88 kB / 1.196 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.4782, allocations: 326.8 kB / 1.197 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.4785, allocations: 183.7 kB / 1.197 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.4785, allocations: 4 kB / 1.197 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.4786, allocations: 27.91 kB / 1.197 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.4788, allocations: 63.86 kB / 1.197 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.4788, allocations: 4 kB / 1.197 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009504/0.4798, allocations: 443 kB / 1.197 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.4798, allocations: 31.89 kB / 1.197 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.4799, allocations: 19.88 kB / 1.197 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.4804, allocations: 188 kB / 1.198 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4804, allocations: 0 / 1.198 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4804, allocations: 0 / 1.198 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4804, allocations: 0 / 1.198 GB, free: 3.406 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.0005194/0.4809, allocations: 403.3 kB / 1.198 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.481, allocations: 11.97 kB / 1.198 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.481, allocations: 12.84 kB / 1.198 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.4811, allocations: 168.3 kB / 1.198 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4811, allocations: 7.922 kB / 1.198 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.4812, allocations: 4 kB / 1.198 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.4814, allocations: 95.06 kB / 1.198 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4814, allocations: 0 / 1.198 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4814, allocations: 0 / 1.198 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.4814, allocations: 11.98 kB / 1.198 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.4816, allocations: 79.95 kB / 1.198 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.4821, allocations: 352.6 kB / 1.199 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.4823, allocations: 98.53 kB / 1.199 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.4823, allocations: 52.89 kB / 1.199 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000905/0.4833, allocations: 465.4 kB / 1.199 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.4833, allocations: 34.56 kB / 1.199 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.4833, allocations: 4 kB / 1.199 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0002781/0.4836, allocations: 125.5 kB / 1.199 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.4836, allocations: 55.34 kB / 1.199 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.4837, allocations: 109.8 kB / 1.2 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4837, allocations: 29.7 kB / 1.2 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.4838, allocations: 100.3 kB / 1.2 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.4838, allocations: 39.45 kB / 1.2 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.4839, allocations: 33.7 kB / 1.2 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.484, allocations: 314.8 kB / 1.2 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.4841, allocations: 39.91 kB / 1.2 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.4841, allocations: 65.14 kB / 1.2 GB, free: 436 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.4843, allocations: 121.4 kB / 1.2 GB, free: 296 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4843, allocations: 0 / 1.2 GB, free: 296 kB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002081/0.4845, allocations: 145.4 kB / 1.2 GB, free: 144 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4846, allocations: 4 kB / 1.2 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4846, allocations: 3.984 kB / 1.2 GB, free: 136 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4846, allocations: 4.25 kB / 1.2 GB, free: 132 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4847, allocations: 23.94 kB / 1.2 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.4847, allocations: 15.92 kB / 1.2 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.4848, allocations: 15.84 kB / 1.2 GB, free: 76 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.4848, allocations: 4 kB / 1.2 GB, free: 72 kB / 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 0.0001107/0.4849, allocations: 117.9 kB / 1.201 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.4849, allocations: 11.91 kB / 1.201 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.4852, allocations: 129.9 kB / 1.201 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4852, allocations: 3.938 kB / 1.201 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4852, allocations: 0 / 1.201 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.4852, allocations: 0 / 1.201 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4854, allocations: 185.6 kB / 1.201 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4854, allocations: 0 / 1.201 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.4855, allocations: 23.98 kB / 1.201 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4855, allocations: 0 / 1.201 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4855, allocations: 0 / 1.201 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4855, allocations: 3.938 kB / 1.201 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4855, allocations: 4 kB / 1.201 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.4857, allocations: 203.5 kB / 1.201 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.4858, allocations: 93 kB / 1.201 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.4858, allocations: 4 kB / 1.201 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.4859, allocations: 7.938 kB / 1.201 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.4859, allocations: 7.984 kB / 1.201 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4859, allocations: 4 kB / 1.201 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.486, allocations: 91.27 kB / 1.201 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.486, allocations: 0 / 1.201 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003642/0.4863, allocations: 71.94 kB / 1.201 GB, free: 15.02 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.0003813/0.4867, allocations: 191 kB / 1.202 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.4869, allocations: 83.84 kB / 1.202 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4869, allocations: 3.938 kB / 1.202 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.139e-05/0.487, allocations: 35.97 kB / 1.202 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4872, allocations: 18.47 kB / 1.202 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.4877, allocations: 232.2 kB / 1.202 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.4879, allocations: 0.6887 MB / 1.203 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.488, allocations: 15.44 kB / 1.203 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.488, allocations: 0 / 1.203 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of Templates: time 0.003934/0.4919, allocations: 1.834 MB / 1.204 GB, free: 11.88 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