Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001602/0.001602, allocations: 106.7 kB / 15.99 MB, free: 6.355 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.001543/0.001544, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 68.67 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.353, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002645/0.3557, allocations: 1.388 MB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7855/1.141, allocations: 145.7 MB / 1.208 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/1.141, allocations: 1.094 kB / 1.208 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/1.141, allocations: 3.984 kB / 1.208 GB, free: 0.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001706/1.142, allocations: 41.08 kB / 1.208 GB, free: 488 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/1.143, allocations: 332.5 kB / 1.208 GB, free: 268 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/1.143, allocations: 70.61 kB / 1.208 GB, free: 236 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/1.143, allocations: 6.281 kB / 1.208 GB, free: 232 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/1.143, allocations: 31.11 kB / 1.208 GB, free: 220 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/1.143, allocations: 57.06 kB / 1.208 GB, free: 196 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/1.143, allocations: 2.281 kB / 1.208 GB, free: 196 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/1.144, allocations: 419.2 kB / 1.209 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/1.144, allocations: 31.48 kB / 1.209 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/1.144, allocations: 29.64 kB / 1.209 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/1.144, allocations: 192.3 kB / 1.209 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.144, allocations: 4 kB / 1.209 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/1.144, allocations: 1.375 kB / 1.209 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.899e-06/1.144, allocations: 0 / 1.209 GB, free: 15.84 MB / 0.9356 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.000453/1.145, allocations: 390.5 kB / 1.209 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.145, allocations: 9.344 kB / 1.209 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/1.145, allocations: 8.688 kB / 1.209 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/1.145, allocations: 167.7 kB / 1.21 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.145, allocations: 5.156 kB / 1.21 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/1.145, allocations: 14.05 kB / 1.21 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/1.145, allocations: 93.28 kB / 1.21 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.145, allocations: 0 / 1.21 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/1.145, allocations: 0 / 1.21 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/1.145, allocations: 13.28 kB / 1.21 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/1.145, allocations: 83.44 kB / 1.21 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/1.146, allocations: 335.8 kB / 1.21 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/1.146, allocations: 107.2 kB / 1.21 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/1.146, allocations: 50.34 kB / 1.21 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008551/1.147, allocations: 477.5 kB / 1.211 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/1.147, allocations: 35.64 kB / 1.211 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/1.147, allocations: 4 kB / 1.211 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0002711/1.147, allocations: 118.7 kB / 1.211 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.147, allocations: 56.56 kB / 1.211 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.148, allocations: 120.1 kB / 1.211 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.148, allocations: 29.69 kB / 1.211 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/1.148, allocations: 96.62 kB / 1.211 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/1.148, allocations: 41.11 kB / 1.211 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/1.148, allocations: 28.72 kB / 1.211 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.148, allocations: 325 kB / 1.211 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/1.148, allocations: 28.11 kB / 1.211 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/1.148, allocations: 75.48 kB / 1.212 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/1.148, allocations: 117.1 kB / 1.212 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.148, allocations: 0 / 1.212 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002006/1.148, allocations: 136.9 kB / 1.212 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.148, allocations: 5.625 kB / 1.212 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.148, allocations: 4.938 kB / 1.212 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.148, allocations: 6.5 kB / 1.212 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.149, allocations: 29.95 kB / 1.212 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.149, allocations: 10.25 kB / 1.212 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/1.149, allocations: 11 kB / 1.212 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/1.149, allocations: 9.125 kB / 1.212 GB, free: 13.16 MB / 0.9356 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.0001087/1.149, allocations: 126.1 kB / 1.212 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/1.149, allocations: 7.438 kB / 1.212 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/1.149, allocations: 119.5 kB / 1.212 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.149, allocations: 1.125 kB / 1.212 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.149, allocations: 3.938 kB / 1.212 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.149, allocations: 9.016 kB / 1.212 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/1.149, allocations: 176.7 kB / 1.212 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.149, allocations: 3.984 kB / 1.212 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/1.149, allocations: 21.5 kB / 1.212 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.149, allocations: 1 kB / 1.212 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/1.149, allocations: 1.125 kB / 1.212 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.149, allocations: 5.438 kB / 1.212 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.149, allocations: 3.938 kB / 1.212 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/1.15, allocations: 199.3 kB / 1.213 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/1.15, allocations: 97.94 kB / 1.213 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/1.15, allocations: 1.188 kB / 1.213 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/1.15, allocations: 1.094 kB / 1.213 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/1.15, allocations: 10.78 kB / 1.213 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/1.15, allocations: 6.859 kB / 1.213 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.981e-05/1.15, allocations: 88.28 kB / 1.213 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.15, allocations: 0 / 1.213 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003763/1.15, allocations: 76.23 kB / 1.213 GB, free: 12.33 MB / 0.9356 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.0003602/1.151, allocations: 191.6 kB / 1.213 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001883/1.151, allocations: 94.2 kB / 1.213 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.151, allocations: 1.031 kB / 1.213 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/1.151, allocations: 37.08 kB / 1.213 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/1.151, allocations: 17.03 kB / 1.213 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/1.152, allocations: 217 kB / 1.213 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/1.152, allocations: 0.6904 MB / 1.214 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/1.152, allocations: 18.81 kB / 1.214 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/1.152, allocations: 0 / 1.214 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.003804/1.156, allocations: 1.854 MB / 1.216 GB, free: 10.31 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches