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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001686/0.001686, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001905/0.001905, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 62.59 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2572, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002434/0.2597, allocations: 1.341 MB / 0.9525 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6294/0.8892, allocations: 147.9 MB / 1.097 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.8893, allocations: 0.9375 kB / 1.097 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.8893, allocations: 3.516 kB / 1.097 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.8896, allocations: 46.22 kB / 1.097 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.8908, allocations: 355.7 kB / 1.097 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.8909, allocations: 65.25 kB / 1.097 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.891, allocations: 3.297 kB / 1.097 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.8911, allocations: 34.28 kB / 1.097 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.8912, allocations: 55.81 kB / 1.097 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.8912, allocations: 5.844 kB / 1.097 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008529/0.8921, allocations: 408.7 kB / 1.098 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.8922, allocations: 27.02 kB / 1.098 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.8922, allocations: 25.58 kB / 1.098 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.8928, allocations: 277 kB / 1.098 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8928, allocations: 0.7188 kB / 1.098 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8928, allocations: 0 / 1.098 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.8928, allocations: 2.344 kB / 1.098 GB, free: 5.477 MB / 0.8575 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.0006015/0.8934, allocations: 396.1 kB / 1.098 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8935, allocations: 14.39 kB / 1.098 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.8935, allocations: 7.188 kB / 1.099 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.8936, allocations: 168.5 kB / 1.099 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.8936, allocations: 5.781 kB / 1.099 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.8937, allocations: 2.156 kB / 1.099 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.8939, allocations: 91.67 kB / 1.099 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.8939, allocations: 0 / 1.099 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.8939, allocations: 4.328 kB / 1.099 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.8939, allocations: 15.56 kB / 1.099 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.8941, allocations: 86.92 kB / 1.099 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.8945, allocations: 330.3 kB / 1.099 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.8947, allocations: 102.6 kB / 1.099 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.8948, allocations: 49.8 kB / 1.099 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008454/0.8957, allocations: 476.4 kB / 1.1 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.8957, allocations: 36.75 kB / 1.1 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 2.134e-06/0.8957, allocations: 0 / 1.1 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0002741/0.896, allocations: 126.3 kB / 1.1 GB, free: 19.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.896, allocations: 56.86 kB / 1.1 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.8961, allocations: 117.6 kB / 1.1 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.8961, allocations: 27.2 kB / 1.1 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.8962, allocations: 102.1 kB / 1.1 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.8962, allocations: 43.48 kB / 1.1 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.8963, allocations: 31.7 kB / 1.1 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8964, allocations: 319.3 kB / 1.101 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.8965, allocations: 28.09 kB / 1.101 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.758e-05/0.8966, allocations: 73.75 kB / 1.101 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.8967, allocations: 113 kB / 1.101 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8967, allocations: 2.969 kB / 1.101 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002262/0.897, allocations: 141.5 kB / 1.101 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.897, allocations: 7.891 kB / 1.101 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.897, allocations: 1.969 kB / 1.101 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.897, allocations: 6.375 kB / 1.101 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.8971, allocations: 31.78 kB / 1.101 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.8972, allocations: 2.25 kB / 1.101 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.8972, allocations: 11.91 kB / 1.101 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.8972, allocations: 7.766 kB / 1.101 GB, free: 19.2 MB / 0.8731 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.337e-05/0.8973, allocations: 129.9 kB / 1.101 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.8974, allocations: 3 kB / 1.101 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.8976, allocations: 130.6 kB / 1.101 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.8976, allocations: 5.75 kB / 1.101 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8977, allocations: 2.594 kB / 1.101 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8977, allocations: 0.7969 kB / 1.101 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.8979, allocations: 176.5 kB / 1.101 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8979, allocations: 3.125 kB / 1.101 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.8979, allocations: 25.25 kB / 1.101 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8979, allocations: 0.8438 kB / 1.101 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.898, allocations: 1.219 kB / 1.101 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.898, allocations: 5.062 kB / 1.101 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.898, allocations: 0 / 1.101 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.8982, allocations: 196.4 kB / 1.102 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.8983, allocations: 95.47 kB / 1.102 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.8983, allocations: 0.9062 kB / 1.102 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-05/0.8983, allocations: 12.45 kB / 1.102 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.8984, allocations: 6.641 kB / 1.102 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.8984, allocations: 5.641 kB / 1.102 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.8984, allocations: 89.31 kB / 1.102 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8.82e-07/0.8984, allocations: 3.938 kB / 1.102 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004258/0.8989, allocations: 73.66 kB / 1.102 GB, free: 18.5 MB / 0.8731 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.000375/0.8992, allocations: 191.9 kB / 1.102 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.8995, allocations: 82.73 kB / 1.102 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8995, allocations: 1.203 kB / 1.102 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.008e-05/0.8995, allocations: 40.27 kB / 1.102 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.8998, allocations: 16.14 kB / 1.102 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.9002, allocations: 179.8 kB / 1.102 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.9004, allocations: 0.6913 MB / 1.103 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.9006, allocations: 53.86 kB / 1.103 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.9006, allocations: 13.62 kB / 1.103 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9006, allocations: 0.6875 kB / 1.103 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.005355/0.906, allocations: 1.901 MB / 1.105 GB, free: 17.41 MB / 0.8731 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 -s cvode -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/jenkins1/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