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.001453/0.001452, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001702/0.001702, allocations: 203.3 kB / 16.15 MB, free: 6.594 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.595/2.595, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5332/0.5346, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002234/0.5369, allocations: 1.397 MB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1423/0.6791, allocations: 145.6 MB / 1.16 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.6792, allocations: 0 / 1.16 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.6793, allocations: 3.984 kB / 1.16 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.6795, allocations: 43.75 kB / 1.16 GB, free: 15.19 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.6805, allocations: 318.8 kB / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.6807, allocations: 183.7 kB / 1.161 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.6807, allocations: 4 kB / 1.161 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.6808, allocations: 35.89 kB / 1.161 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.6809, allocations: 63.81 kB / 1.161 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.6809, allocations: 8 kB / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008264/0.6818, allocations: 431.1 kB / 1.161 GB, free: 14.17 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.6818, allocations: 27.95 kB / 1.161 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.6819, allocations: 23.88 kB / 1.161 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000626/0.6825, allocations: 293.2 kB / 1.162 GB, free: 13.83 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6825, allocations: 0 / 1.162 GB, free: 13.83 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6826, allocations: 0 / 1.162 GB, free: 13.83 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.6826, allocations: 0 / 1.162 GB, free: 13.83 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.0004702/0.683, allocations: 393.6 kB / 1.162 GB, free: 13.4 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6831, allocations: 15.98 kB / 1.162 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.6831, allocations: 8.844 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.6832, allocations: 176.3 kB / 1.162 GB, free: 13.17 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6833, allocations: 7.938 kB / 1.162 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.6833, allocations: 4 kB / 1.162 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.6835, allocations: 97.53 kB / 1.162 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.6835, allocations: 0 / 1.162 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.6835, allocations: 0 / 1.162 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.6835, allocations: 12 kB / 1.162 GB, free: 13.04 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.6837, allocations: 87.94 kB / 1.162 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.6842, allocations: 336.6 kB / 1.163 GB, free: 12.58 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.6843, allocations: 98.53 kB / 1.163 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.6844, allocations: 52.91 kB / 1.163 GB, free: 12.42 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008918/0.6853, allocations: 469.4 kB / 1.163 GB, free: 11.87 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.6854, allocations: 34.55 kB / 1.163 GB, free: 11.82 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.6854, allocations: 0 / 1.163 GB, free: 11.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002548/0.6856, allocations: 125.5 kB / 1.163 GB, free: 11.7 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.6857, allocations: 55.34 kB / 1.163 GB, free: 11.63 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.6858, allocations: 117.9 kB / 1.164 GB, free: 11.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.6858, allocations: 33.62 kB / 1.164 GB, free: 11.46 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.6858, allocations: 100.2 kB / 1.164 GB, free: 11.36 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.6859, allocations: 43.39 kB / 1.164 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.6859, allocations: 29.72 kB / 1.164 GB, free: 11.29 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.686, allocations: 318.8 kB / 1.164 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.6861, allocations: 27.98 kB / 1.164 GB, free: 10.94 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.679e-05/0.6862, allocations: 71.38 kB / 1.164 GB, free: 10.85 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.6863, allocations: 121 kB / 1.164 GB, free: 10.71 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6863, allocations: 0 / 1.164 GB, free: 10.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001997/0.6865, allocations: 145.8 kB / 1.164 GB, free: 10.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.6865, allocations: 4 kB / 1.164 GB, free: 10.56 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6866, allocations: 4 kB / 1.164 GB, free: 10.56 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.6866, allocations: 0 / 1.164 GB, free: 10.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.6867, allocations: 35.92 kB / 1.164 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6867, allocations: 3.938 kB / 1.164 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.6868, allocations: 11.84 kB / 1.164 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.6868, allocations: 8 kB / 1.164 GB, free: 10.5 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 8.109e-05/0.6869, allocations: 126.5 kB / 1.165 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.6869, allocations: 7.906 kB / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.6871, allocations: 117.9 kB / 1.165 GB, free: 10.24 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6871, allocations: 7.938 kB / 1.165 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.6871, allocations: 0 / 1.165 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6871, allocations: 3.984 kB / 1.165 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.6873, allocations: 169.9 kB / 1.165 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6873, allocations: 15.98 kB / 1.165 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.6874, allocations: 12 kB / 1.165 GB, free: 9.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6874, allocations: 0 / 1.165 GB, free: 9.988 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.6874, allocations: 8 kB / 1.165 GB, free: 9.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.6874, allocations: 3.938 kB / 1.165 GB, free: 9.977 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6874, allocations: 0 / 1.165 GB, free: 9.977 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.6876, allocations: 211.4 kB / 1.165 GB, free: 9.754 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.6877, allocations: 93 kB / 1.165 GB, free: 9.645 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.6877, allocations: 8 kB / 1.165 GB, free: 9.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.614e-05/0.6878, allocations: 3.938 kB / 1.165 GB, free: 9.633 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.6878, allocations: 4 kB / 1.165 GB, free: 9.629 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.6878, allocations: 7.984 kB / 1.165 GB, free: 9.621 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.6879, allocations: 83.28 kB / 1.165 GB, free: 9.539 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6879, allocations: 0 / 1.165 GB, free: 9.539 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004026/0.6883, allocations: 79.92 kB / 1.165 GB, free: 9.461 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.0004076/0.6887, allocations: 191.1 kB / 1.166 GB, free: 9.262 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.6889, allocations: 79.83 kB / 1.166 GB, free: 9.184 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6889, allocations: 4 kB / 1.166 GB, free: 9.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.279e-05/0.689, allocations: 43.86 kB / 1.166 GB, free: 9.137 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.6892, allocations: 21.91 kB / 1.166 GB, free: 9.117 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.6896, allocations: 188.5 kB / 1.166 GB, free: 8.906 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.6899, allocations: 0.6965 MB / 1.167 GB, free: 8.184 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.69, allocations: 52.98 kB / 1.167 GB, free: 8.133 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.6901, allocations: 11.44 kB / 1.167 GB, free: 8.121 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.6901, allocations: 0 / 1.167 GB, free: 8.121 MB / 0.92 GB Notification: Performance of Templates: time 0.004575/0.6947, allocations: 1.861 MB / 1.168 GB, free: 6.309 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=480 -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