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.001486/0.001486, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001736/0.001736, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.586 MB / 190.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.345/2.345, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.88 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6368/0.638, allocations: 140.3 MB / 0.9489 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00213/0.6402, allocations: 1.399 MB / 0.9503 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1566/0.7968, allocations: 145.6 MB / 1.092 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.7969, allocations: 7.875 kB / 1.092 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.098e-05/0.797, allocations: 3.984 kB / 1.092 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.7972, allocations: 43.88 kB / 1.093 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.7984, allocations: 322.7 kB / 1.093 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.7986, allocations: 183.7 kB / 1.093 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.7986, allocations: 7.984 kB / 1.093 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.7987, allocations: 27.97 kB / 1.093 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.7988, allocations: 59.81 kB / 1.093 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.7988, allocations: 4 kB / 1.093 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007408/0.7996, allocations: 435.1 kB / 1.094 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.7996, allocations: 31.89 kB / 1.094 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.7997, allocations: 27.81 kB / 1.094 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.8002, allocations: 289.5 kB / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8002, allocations: 0 / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.51e-07/0.8002, allocations: 0 / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8002, allocations: 0 / 1.094 GB, free: 13.36 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.0004456/0.8007, allocations: 403.3 kB / 1.094 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.8007, allocations: 8.031 kB / 1.094 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.8007, allocations: 12.84 kB / 1.094 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.8009, allocations: 167.7 kB / 1.094 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8009, allocations: 4 kB / 1.094 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.8009, allocations: 0 / 1.094 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.8011, allocations: 97.64 kB / 1.095 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8011, allocations: 0 / 1.095 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.8011, allocations: 0 / 1.095 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.8012, allocations: 19.92 kB / 1.095 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.8013, allocations: 75.95 kB / 1.095 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.8018, allocations: 344.6 kB / 1.095 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.802, allocations: 98.53 kB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.8021, allocations: 52.84 kB / 1.095 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008584/0.8029, allocations: 469.4 kB / 1.096 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.803, allocations: 38.56 kB / 1.096 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.803, allocations: 0 / 1.096 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002574/0.8032, allocations: 129.8 kB / 1.096 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.8033, allocations: 51.41 kB / 1.096 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.8034, allocations: 121.9 kB / 1.096 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.8034, allocations: 29.7 kB / 1.096 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.8034, allocations: 92.17 kB / 1.096 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.8035, allocations: 55.33 kB / 1.096 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.8035, allocations: 33.7 kB / 1.096 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8036, allocations: 310.8 kB / 1.096 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/0.8037, allocations: 31.98 kB / 1.096 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.103e-05/0.8038, allocations: 69.97 kB / 1.096 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.8039, allocations: 121 kB / 1.097 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.804, allocations: 0 / 1.097 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001999/0.8042, allocations: 145.5 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.8042, allocations: 4 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.8042, allocations: 7.938 kB / 1.097 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.8042, allocations: 0 / 1.097 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.8043, allocations: 27.98 kB / 1.097 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.8043, allocations: 3.938 kB / 1.097 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.8044, allocations: 16.09 kB / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.8044, allocations: 8 kB / 1.097 GB, free: 10.02 MB / 0.8575 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.0001266/0.8045, allocations: 121.8 kB / 1.097 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.8046, allocations: 8.062 kB / 1.097 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.8048, allocations: 134 kB / 1.097 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8048, allocations: 4 kB / 1.097 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8048, allocations: 0 / 1.097 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8048, allocations: 0 / 1.097 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.8051, allocations: 173.7 kB / 1.097 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8051, allocations: 7.938 kB / 1.097 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.8051, allocations: 16 kB / 1.097 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8051, allocations: 0 / 1.097 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.8052, allocations: 7.938 kB / 1.097 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.8052, allocations: 3.984 kB / 1.097 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8052, allocations: 0 / 1.097 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.8053, allocations: 199.4 kB / 1.097 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.8055, allocations: 89.03 kB / 1.097 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.8055, allocations: 7.938 kB / 1.098 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.8056, allocations: 8 kB / 1.098 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.8056, allocations: 7.984 kB / 1.098 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.8056, allocations: 0 / 1.098 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.8056, allocations: 87.28 kB / 1.098 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8056, allocations: 0 / 1.098 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003482/0.806, allocations: 75.92 kB / 1.098 GB, free: 8.992 MB / 0.8575 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.0003242/0.8063, allocations: 191 kB / 1.098 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.8065, allocations: 79.89 kB / 1.098 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.8065, allocations: 0 / 1.098 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.947e-05/0.8066, allocations: 39.92 kB / 1.098 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.8068, allocations: 15.92 kB / 1.098 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.8072, allocations: 208.7 kB / 1.098 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.8075, allocations: 0.6965 MB / 1.099 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.8076, allocations: 49.09 kB / 1.099 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.8076, allocations: 15.44 kB / 1.099 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.8076, allocations: 0 / 1.099 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of Templates: time 0.004598/0.8122, allocations: 1.868 MB / 1.101 GB, free: 5.832 MB / 0.8575 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