Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00794/0.00794, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.001797/0.001797, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7725, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002163/0.7747, allocations: 1.34 MB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.962, allocations: 147.9 MB / 1.234 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.9621, allocations: 0 / 1.234 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/0.9621, allocations: 1.438 kB / 1.234 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.9624, allocations: 40.39 kB / 1.234 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.9637, allocations: 361.2 kB / 1.234 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.9639, allocations: 74.34 kB / 1.234 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.9639, allocations: 5.469 kB / 1.234 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.964, allocations: 27 kB / 1.234 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.9641, allocations: 61 kB / 1.234 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.9641, allocations: 2.656 kB / 1.234 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008058/0.9649, allocations: 410.3 kB / 1.235 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.965, allocations: 34.89 kB / 1.235 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.9651, allocations: 25.72 kB / 1.235 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.9656, allocations: 275.4 kB / 1.235 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9656, allocations: 0 / 1.235 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9656, allocations: 0 / 1.235 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.9656, allocations: 1.219 kB / 1.235 GB, free: 4.797 MB / 0.9669 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.0004534/0.9661, allocations: 405.8 kB / 1.235 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.9661, allocations: 9.344 kB / 1.235 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.9662, allocations: 7.359 kB / 1.235 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.9663, allocations: 168.6 kB / 1.235 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.9663, allocations: 6.312 kB / 1.235 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.9663, allocations: 2.344 kB / 1.235 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.9665, allocations: 92.41 kB / 1.236 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.9665, allocations: 3.938 kB / 1.236 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.9665, allocations: 0 / 1.236 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.9666, allocations: 13.36 kB / 1.236 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.9667, allocations: 80.17 kB / 1.236 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.9672, allocations: 337.4 kB / 1.236 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.9674, allocations: 107.6 kB / 1.236 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.9675, allocations: 55.19 kB / 1.236 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008144/0.9683, allocations: 477.6 kB / 1.237 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.9683, allocations: 36.03 kB / 1.237 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.9683, allocations: 0 / 1.237 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002744/0.9686, allocations: 117.1 kB / 1.237 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.9687, allocations: 57.52 kB / 1.237 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.9687, allocations: 113.8 kB / 1.237 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.9688, allocations: 26.73 kB / 1.237 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.9688, allocations: 95.45 kB / 1.237 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.9689, allocations: 40.5 kB / 1.237 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.9689, allocations: 41.91 kB / 1.237 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9691, allocations: 316.5 kB / 1.237 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.9691, allocations: 36.05 kB / 1.237 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.9692, allocations: 73.69 kB / 1.238 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.9694, allocations: 119.4 kB / 1.238 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9694, allocations: 0.75 kB / 1.238 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002042/0.9696, allocations: 137.2 kB / 1.238 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.9696, allocations: 9.562 kB / 1.238 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9696, allocations: 5.094 kB / 1.238 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.9696, allocations: 2.219 kB / 1.238 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.9697, allocations: 34.33 kB / 1.238 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.9698, allocations: 2.438 kB / 1.238 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.9698, allocations: 11.48 kB / 1.238 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.9698, allocations: 4.688 kB / 1.238 GB, free: 2.094 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 8.904e-05/0.9699, allocations: 129.7 kB / 1.238 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.97, allocations: 11.42 kB / 1.238 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.9702, allocations: 118.1 kB / 1.238 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.9702, allocations: 5.078 kB / 1.238 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9702, allocations: 1.125 kB / 1.238 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9702, allocations: 0 / 1.238 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.9704, allocations: 184.2 kB / 1.238 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9704, allocations: 0 / 1.238 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.9705, allocations: 14.56 kB / 1.238 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.9705, allocations: 9.25 kB / 1.238 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.9705, allocations: 5.375 kB / 1.238 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9705, allocations: 4.25 kB / 1.238 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.9705, allocations: 3.984 kB / 1.238 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.9707, allocations: 199.8 kB / 1.238 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.9708, allocations: 94.48 kB / 1.239 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.9708, allocations: 9.312 kB / 1.239 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.9709, allocations: 0 / 1.239 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.9709, allocations: 8.109 kB / 1.239 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.9709, allocations: 6.734 kB / 1.239 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.971, allocations: 91.53 kB / 1.239 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.971, allocations: 0 / 1.239 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000385/0.9714, allocations: 79.98 kB / 1.239 GB, free: 1.25 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.0003348/0.9717, allocations: 183.4 kB / 1.239 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.9719, allocations: 88.27 kB / 1.239 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9719, allocations: 0 / 1.239 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.721e-05/0.9719, allocations: 36.67 kB / 1.239 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.9722, allocations: 23.58 kB / 1.239 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.9726, allocations: 172.3 kB / 1.239 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.9728, allocations: 0.6918 MB / 1.24 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.9729, allocations: 52.48 kB / 1.24 GB, free: 204 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.9729, allocations: 12.94 kB / 1.24 GB, free: 196 kB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.9729, allocations: 4 kB / 1.24 GB, free: 192 kB / 0.9669 GB Notification: Performance of Templates: time 0.004595/0.9775, allocations: 1.919 MB / 1.242 GB, free: 15.24 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches