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.001716/0.001716, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 197.4 kB / 16.53 MB, free: 6.672 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.336/2.336, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 67.89 kB / 0.8125 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7035, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002445/0.706, allocations: 1.327 MB / 0.9509 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1547/0.8607, allocations: 147.9 MB / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.8608, allocations: 3.938 kB / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.8609, allocations: 3.984 kB / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.8611, allocations: 39.88 kB / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.8622, allocations: 358.5 kB / 1.096 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.169e-05/0.8623, allocations: 63.83 kB / 1.096 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.8623, allocations: 7.984 kB / 1.096 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.8624, allocations: 31.97 kB / 1.096 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.8625, allocations: 59.81 kB / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.8625, allocations: 0 / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007155/0.8632, allocations: 411.1 kB / 1.096 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.8633, allocations: 27.91 kB / 1.096 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.8634, allocations: 27.86 kB / 1.096 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.8638, allocations: 269.4 kB / 1.097 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8638, allocations: 3.938 kB / 1.097 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8638, allocations: 0 / 1.097 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.8638, allocations: 3.938 kB / 1.097 GB, free: 10.81 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.0004004/0.8643, allocations: 403.3 kB / 1.097 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.8643, allocations: 8.031 kB / 1.097 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.8643, allocations: 8.844 kB / 1.097 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.8644, allocations: 167.8 kB / 1.097 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.8645, allocations: 4 kB / 1.097 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.8645, allocations: 3.984 kB / 1.097 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.8647, allocations: 97.59 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.8647, allocations: 3.938 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.8647, allocations: 0 / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.8647, allocations: 11.98 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.8649, allocations: 79.95 kB / 1.097 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.8653, allocations: 340.7 kB / 1.098 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.8655, allocations: 98.62 kB / 1.098 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.8655, allocations: 60.77 kB / 1.098 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00084/0.8664, allocations: 473.4 kB / 1.098 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.8664, allocations: 34.56 kB / 1.098 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.8664, allocations: 0 / 1.098 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002589/0.8667, allocations: 125.4 kB / 1.098 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.8667, allocations: 51.41 kB / 1.098 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.176e-05/0.8668, allocations: 125.9 kB / 1.099 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.8668, allocations: 29.7 kB / 1.099 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.8669, allocations: 88.19 kB / 1.099 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.8669, allocations: 47.39 kB / 1.099 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.867, allocations: 33.7 kB / 1.099 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.8671, allocations: 318.8 kB / 1.099 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.8671, allocations: 35.91 kB / 1.099 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.8672, allocations: 67.67 kB / 1.099 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.8674, allocations: 113.1 kB / 1.099 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8674, allocations: 0 / 1.099 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001943/0.8676, allocations: 141.5 kB / 1.099 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.8676, allocations: 8.031 kB / 1.099 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8676, allocations: 7.922 kB / 1.099 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8676, allocations: 4 kB / 1.099 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.8677, allocations: 31.92 kB / 1.099 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8677, allocations: 4 kB / 1.099 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.8678, allocations: 11.84 kB / 1.099 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.8678, allocations: 4 kB / 1.099 GB, free: 7.48 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 8.221e-05/0.8679, allocations: 129.7 kB / 1.1 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.8679, allocations: 8 kB / 1.1 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.8682, allocations: 130.3 kB / 1.1 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8682, allocations: 0 / 1.1 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8682, allocations: 4 kB / 1.1 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8682, allocations: 0 / 1.1 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.8684, allocations: 177.6 kB / 1.1 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8684, allocations: 3.938 kB / 1.1 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.8684, allocations: 19.98 kB / 1.1 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8685, allocations: 4 kB / 1.1 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.8685, allocations: 11.88 kB / 1.1 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8685, allocations: 4 kB / 1.1 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8685, allocations: 0 / 1.1 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.8687, allocations: 195.4 kB / 1.1 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.8687, allocations: 85.09 kB / 1.1 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.8687, allocations: 7.938 kB / 1.1 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.8688, allocations: 4.25 kB / 1.1 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.8688, allocations: 7.984 kB / 1.1 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.8688, allocations: 8 kB / 1.1 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.8689, allocations: 91.27 kB / 1.1 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8689, allocations: 0 / 1.1 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003428/0.8692, allocations: 71.94 kB / 1.1 GB, free: 6.438 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.000316/0.8696, allocations: 199 kB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.8697, allocations: 91.89 kB / 1.101 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8698, allocations: 0 / 1.101 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.65e-05/0.8698, allocations: 35.92 kB / 1.101 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.8701, allocations: 12 kB / 1.101 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.8704, allocations: 183 kB / 1.101 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.8706, allocations: 0.6924 MB / 1.102 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.8708, allocations: 57.08 kB / 1.102 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.8708, allocations: 11.44 kB / 1.102 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.8708, allocations: 0 / 1.102 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of Templates: time 0.004525/0.8753, allocations: 1.907 MB / 1.103 GB, free: 3.25 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