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.001061/0.001061, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001383/0.001383, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 10.28 kB / 0.9022 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001278/0.2634, allocations: 1.041 MB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1365/0.3999, allocations: 134.3 MB / 1.19 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.3999, allocations: 0 / 1.19 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.4, allocations: 3.938 kB / 1.19 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.4001, allocations: 47.92 kB / 1.19 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.401, allocations: 258.9 kB / 1.19 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.4012, allocations: 135.7 kB / 1.191 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.4012, allocations: 4 kB / 1.191 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.4013, allocations: 31.89 kB / 1.191 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.4014, allocations: 59.88 kB / 1.191 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.4014, allocations: 0 / 1.191 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005942/0.402, allocations: 307.4 kB / 1.191 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.4021, allocations: 31.94 kB / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.4021, allocations: 37.64 kB / 1.191 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.4024, allocations: 160 kB / 1.191 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4024, allocations: 0 / 1.191 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4024, allocations: 0 / 1.191 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.4024, allocations: 0 / 1.191 GB, free: 12.53 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.0003478/0.4028, allocations: 395.1 kB / 1.192 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.4028, allocations: 8.031 kB / 1.192 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.4028, allocations: 11.91 kB / 1.192 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.403, allocations: 178.9 kB / 1.192 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.403, allocations: 4 kB / 1.192 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.403, allocations: 0 / 1.192 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.4032, allocations: 93.66 kB / 1.192 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.4032, allocations: 0 / 1.192 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4032, allocations: 0 / 1.192 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.4033, allocations: 8 kB / 1.192 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.4034, allocations: 79.95 kB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.4038, allocations: 348.6 kB / 1.192 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.404, allocations: 94.48 kB / 1.192 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.4041, allocations: 56.89 kB / 1.192 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007616/0.4048, allocations: 485.4 kB / 1.193 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4049, allocations: 30.56 kB / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.4049, allocations: 0 / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0002592/0.4052, allocations: 125.5 kB / 1.193 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.4052, allocations: 63.34 kB / 1.193 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.4053, allocations: 113.8 kB / 1.193 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.4053, allocations: 25.7 kB / 1.193 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.4054, allocations: 100.2 kB / 1.193 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.4054, allocations: 43.44 kB / 1.193 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.4054, allocations: 0 / 1.193 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.4055, allocations: 314.8 kB / 1.194 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.4056, allocations: 31.97 kB / 1.194 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.4057, allocations: 83.61 kB / 1.194 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.042e-05/0.4057, allocations: 39.92 kB / 1.194 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4057, allocations: 4 kB / 1.194 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001897/0.4059, allocations: 138 kB / 1.194 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.406, allocations: 11.98 kB / 1.194 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.406, allocations: 0 / 1.194 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.406, allocations: 4 kB / 1.194 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4061, allocations: 31.94 kB / 1.194 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4061, allocations: 4 kB / 1.194 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.4062, allocations: 7.844 kB / 1.194 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.4062, allocations: 8 kB / 1.194 GB, free: 9.324 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.3e-05/0.4063, allocations: 121.8 kB / 1.194 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4063, allocations: 12 kB / 1.194 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.4065, allocations: 122 kB / 1.194 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4066, allocations: 7.938 kB / 1.194 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4066, allocations: 3.953 kB / 1.194 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4066, allocations: 0 / 1.194 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.4068, allocations: 181.6 kB / 1.194 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4068, allocations: 0 / 1.194 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.4068, allocations: 20.23 kB / 1.194 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4068, allocations: 4 kB / 1.194 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4069, allocations: 8 kB / 1.195 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4069, allocations: 0 / 1.195 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4069, allocations: 0 / 1.195 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.4071, allocations: 199.3 kB / 1.195 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.4071, allocations: 89.03 kB / 1.195 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.4072, allocations: 8 kB / 1.195 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.4072, allocations: 4 kB / 1.195 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.4072, allocations: 11.97 kB / 1.195 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.4073, allocations: 0 / 1.195 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.51e-05/0.4073, allocations: 91.27 kB / 1.195 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4073, allocations: 0 / 1.195 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003437/0.4077, allocations: 83.88 kB / 1.195 GB, free: 8.273 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002973/0.408, allocations: 179.1 kB / 1.195 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.4081, allocations: 87.94 kB / 1.195 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4081, allocations: 4 kB / 1.195 GB, free: 8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.4082, allocations: 39.91 kB / 1.195 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.4085, allocations: 15.94 kB / 1.195 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.4088, allocations: 199.5 kB / 1.195 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.409, allocations: 0.6926 MB / 1.196 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.4092, allocations: 52.88 kB / 1.196 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.4092, allocations: 19.44 kB / 1.196 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.4092, allocations: 0 / 1.196 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of Templates: time 0.004619/0.4138, allocations: 1.84 MB / 1.198 GB, free: 5.145 MB / 0.9512 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