Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001684/0.001691, allocations: 108 kB / 15.6 MB, free: 132 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.001958/0.001958, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.755/2.755, allocations: 437 MB / 0.7104 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.88 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5932/0.5952, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002789/0.598, allocations: 1.33 MB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.7699, allocations: 147.9 MB / 1.163 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.77, allocations: 0 / 1.163 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.7701, allocations: 3.984 kB / 1.163 GB, free: 12.65 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.7703, allocations: 43.81 kB / 1.163 GB, free: 12.61 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.7714, allocations: 358.6 kB / 1.163 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.7715, allocations: 63.83 kB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.7715, allocations: 3.984 kB / 1.163 GB, free: 12.19 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.7716, allocations: 39.84 kB / 1.164 GB, free: 12.15 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.7717, allocations: 51.88 kB / 1.164 GB, free: 12.1 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.7717, allocations: 4 kB / 1.164 GB, free: 12.1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007752/0.7725, allocations: 411.1 kB / 1.164 GB, free: 11.7 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.7726, allocations: 23.97 kB / 1.164 GB, free: 11.67 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.7726, allocations: 23.88 kB / 1.164 GB, free: 11.65 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.7731, allocations: 277.3 kB / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.7731, allocations: 0 / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7731, allocations: 0 / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.7731, allocations: 0 / 1.164 GB, free: 11.38 MB / 0.92 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.0004563/0.7736, allocations: 403.3 kB / 1.165 GB, free: 10.94 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.7736, allocations: 11.98 kB / 1.165 GB, free: 10.93 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.7737, allocations: 8.844 kB / 1.165 GB, free: 10.92 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.7738, allocations: 168.3 kB / 1.165 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.7738, allocations: 11.88 kB / 1.165 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.7738, allocations: 3.938 kB / 1.165 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.774, allocations: 97.58 kB / 1.165 GB, free: 10.6 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7741, allocations: 0 / 1.165 GB, free: 10.6 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.7741, allocations: 4 kB / 1.165 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.7741, allocations: 11.98 kB / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.7743, allocations: 75.95 kB / 1.165 GB, free: 10.51 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.7747, allocations: 340.7 kB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.7749, allocations: 102.5 kB / 1.165 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.775, allocations: 44.91 kB / 1.165 GB, free: 9.969 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/0.7759, allocations: 473.4 kB / 1.166 GB, free: 9.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.776, allocations: 42.56 kB / 1.166 GB, free: 9.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.776, allocations: 0 / 1.166 GB, free: 9.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002811/0.7763, allocations: 125.5 kB / 1.166 GB, free: 9.234 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.7763, allocations: 55.34 kB / 1.166 GB, free: 9.168 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.7764, allocations: 117.9 kB / 1.166 GB, free: 9.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.7765, allocations: 33.7 kB / 1.166 GB, free: 9.004 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.7765, allocations: 88.19 kB / 1.166 GB, free: 8.914 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.7766, allocations: 39.39 kB / 1.166 GB, free: 8.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.7766, allocations: 41.7 kB / 1.166 GB, free: 8.828 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7768, allocations: 314.8 kB / 1.167 GB, free: 8.512 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.7768, allocations: 31.97 kB / 1.167 GB, free: 8.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.7769, allocations: 71.25 kB / 1.167 GB, free: 8.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.7771, allocations: 113.5 kB / 1.167 GB, free: 8.266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7771, allocations: 0 / 1.167 GB, free: 8.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002176/0.7773, allocations: 149.2 kB / 1.167 GB, free: 8.113 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7773, allocations: 8.156 kB / 1.167 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.7773, allocations: 0 / 1.167 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.7774, allocations: 7.984 kB / 1.167 GB, free: 8.098 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.7775, allocations: 27.92 kB / 1.167 GB, free: 8.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.7775, allocations: 7.984 kB / 1.167 GB, free: 8.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.7775, allocations: 15.84 kB / 1.167 GB, free: 8.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.7776, allocations: 4 kB / 1.167 GB, free: 8.043 MB / 0.92 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.618e-05/0.7777, allocations: 125.8 kB / 1.167 GB, free: 7.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.7777, allocations: 4 kB / 1.167 GB, free: 7.906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.7779, allocations: 129.9 kB / 1.167 GB, free: 7.777 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.778, allocations: 3.938 kB / 1.167 GB, free: 7.773 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.778, allocations: 7.938 kB / 1.167 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.778, allocations: 0 / 1.167 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.7782, allocations: 177.6 kB / 1.168 GB, free: 7.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7782, allocations: 3.938 kB / 1.168 GB, free: 7.539 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.7783, allocations: 19.98 kB / 1.168 GB, free: 7.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.7783, allocations: 4 kB / 1.168 GB, free: 7.516 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.7783, allocations: 0 / 1.168 GB, free: 7.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.7783, allocations: 7.938 kB / 1.168 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7783, allocations: 0 / 1.168 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.7785, allocations: 207.5 kB / 1.168 GB, free: 7.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.7786, allocations: 85.09 kB / 1.168 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.7786, allocations: 0 / 1.168 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.7787, allocations: 11.94 kB / 1.168 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.7787, allocations: 11.92 kB / 1.168 GB, free: 7.164 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.7787, allocations: 4.25 kB / 1.168 GB, free: 7.16 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.7788, allocations: 95.27 kB / 1.168 GB, free: 7.066 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7788, allocations: 0 / 1.168 GB, free: 7.066 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003449/0.7791, allocations: 71.94 kB / 1.168 GB, free: 6.996 MB / 0.92 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.7795, allocations: 187.1 kB / 1.168 GB, free: 6.801 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.7797, allocations: 91.84 kB / 1.168 GB, free: 6.711 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7797, allocations: 0 / 1.168 GB, free: 6.711 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/0.7798, allocations: 43.91 kB / 1.168 GB, free: 6.668 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.78, allocations: 14.69 kB / 1.168 GB, free: 6.656 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.7804, allocations: 174.9 kB / 1.169 GB, free: 6.457 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.7807, allocations: 0.6962 MB / 1.169 GB, free: 5.734 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.7809, allocations: 52.98 kB / 1.169 GB, free: 5.684 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.7809, allocations: 15.42 kB / 1.169 GB, free: 5.668 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.7809, allocations: 0 / 1.169 GB, free: 5.668 MB / 0.92 GB Notification: Performance of Templates: time 0.005265/0.7862, allocations: 1.899 MB / 1.171 GB, free: 3.82 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches