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.00904/0.00904, allocations: 96.19 kB / 15.87 MB, free: 6.289 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.002191/0.002191, allocations: 204.5 kB / 16.79 MB, free: 6.215 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.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.311/2.311, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 0.8126 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6875, allocations: 140.3 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002288/0.6899, allocations: 1.4 MB / 0.951 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1585/0.8484, allocations: 145.6 MB / 1.093 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.8485, allocations: 0 / 1.093 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.8486, allocations: 0 / 1.093 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.8488, allocations: 47.86 kB / 1.093 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.85, allocations: 314.9 kB / 1.093 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.8502, allocations: 191.7 kB / 1.094 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.8503, allocations: 0 / 1.094 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.8503, allocations: 31.92 kB / 1.094 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.8505, allocations: 59.88 kB / 1.094 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.8505, allocations: 0 / 1.094 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000963/0.8515, allocations: 439 kB / 1.094 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.8516, allocations: 31.89 kB / 1.094 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.8516, allocations: 27.88 kB / 1.094 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.8521, allocations: 189.6 kB / 1.094 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8521, allocations: 0 / 1.094 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8521, allocations: 0 / 1.094 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8521, allocations: 0 / 1.094 GB, free: 13.3 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.0005408/0.8527, allocations: 403.2 kB / 1.095 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8527, allocations: 12.03 kB / 1.095 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.8528, allocations: 4.844 kB / 1.095 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.8529, allocations: 171.8 kB / 1.095 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.8529, allocations: 3.938 kB / 1.095 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.8529, allocations: 7.984 kB / 1.095 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.8531, allocations: 93.59 kB / 1.095 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8531, allocations: 0 / 1.095 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.8532, allocations: 0 / 1.095 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.8532, allocations: 16 kB / 1.095 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.8534, allocations: 79.95 kB / 1.095 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.8538, allocations: 336.7 kB / 1.096 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.854, allocations: 98.48 kB / 1.096 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.8541, allocations: 56.89 kB / 1.096 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000943/0.855, allocations: 469.4 kB / 1.096 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.8551, allocations: 34.56 kB / 1.096 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.8551, allocations: 3.938 kB / 1.096 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000283/0.8554, allocations: 129.5 kB / 1.096 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.8554, allocations: 55.41 kB / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.8555, allocations: 121.9 kB / 1.096 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.8556, allocations: 25.7 kB / 1.096 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.8556, allocations: 96.17 kB / 1.097 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.8557, allocations: 43.39 kB / 1.097 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.8557, allocations: 29.72 kB / 1.097 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8559, allocations: 318.8 kB / 1.097 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.8559, allocations: 27.98 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.856, allocations: 77.12 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.8562, allocations: 117 kB / 1.097 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8562, allocations: 4 kB / 1.097 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002228/0.8564, allocations: 133.4 kB / 1.097 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.8564, allocations: 7.938 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.8564, allocations: 7.938 kB / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8564, allocations: 0 / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.8566, allocations: 31.98 kB / 1.097 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8566, allocations: 0 / 1.097 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.8566, allocations: 11.84 kB / 1.097 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-06/0.8566, allocations: 4.156 kB / 1.097 GB, free: 9.984 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 9.893e-05/0.8567, allocations: 129.8 kB / 1.097 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.8568, allocations: 8 kB / 1.097 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.857, allocations: 126.3 kB / 1.098 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.857, allocations: 7.984 kB / 1.098 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.857, allocations: 0 / 1.098 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.857, allocations: 4 kB / 1.098 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.8572, allocations: 181.6 kB / 1.098 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.8573, allocations: 0 / 1.098 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.8573, allocations: 19.92 kB / 1.098 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.8573, allocations: 4 kB / 1.098 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.8574, allocations: 7.938 kB / 1.098 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8574, allocations: 0 / 1.098 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8574, allocations: 0 / 1.098 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.8576, allocations: 203.3 kB / 1.098 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.8576, allocations: 89.09 kB / 1.098 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.8577, allocations: 12.19 kB / 1.098 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.8577, allocations: 4 kB / 1.098 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.8577, allocations: 7.938 kB / 1.098 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.8578, allocations: 0 / 1.098 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.8578, allocations: 91.27 kB / 1.098 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8578, allocations: 0 / 1.098 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003818/0.8582, allocations: 87.86 kB / 1.098 GB, free: 8.922 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.0004044/0.8586, allocations: 183.1 kB / 1.098 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.8588, allocations: 88.05 kB / 1.099 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.8588, allocations: 0 / 1.099 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.8589, allocations: 40.14 kB / 1.099 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.8592, allocations: 20.52 kB / 1.099 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.8596, allocations: 226 kB / 1.099 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.8598, allocations: 0.6926 MB / 1.099 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.8599, allocations: 15.44 kB / 1.099 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.8599, allocations: 0 / 1.099 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of Templates: time 0.003909/0.8638, allocations: 1.839 MB / 1.101 GB, free: 5.773 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/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