Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001568/0.001568, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001633/0.001633, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 469.8 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 65.95 kB / 0.9081 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2775, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002416/0.2799, allocations: 1.389 MB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.4382, allocations: 145.7 MB / 1.207 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.4382, allocations: 0 / 1.207 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.623e-05/0.4383, allocations: 0 / 1.207 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.4385, allocations: 39.86 kB / 1.207 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.4397, allocations: 330.9 kB / 1.208 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.4398, allocations: 63.83 kB / 1.208 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.4399, allocations: 3.938 kB / 1.208 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.4399, allocations: 39.83 kB / 1.208 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.4401, allocations: 59.88 kB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.4401, allocations: 4 kB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.4409, allocations: 423.1 kB / 1.208 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.441, allocations: 27.95 kB / 1.208 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.4411, allocations: 27.86 kB / 1.208 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.4416, allocations: 283.6 kB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4416, allocations: 4 kB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4416, allocations: 3.938 kB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.4416, allocations: 0 / 1.208 GB, free: 9.637 MB / 0.9669 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.0004751/0.4421, allocations: 401.5 kB / 1.209 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4421, allocations: 12.03 kB / 1.209 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.4422, allocations: 8.875 kB / 1.209 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4423, allocations: 168.3 kB / 1.209 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4423, allocations: 3.938 kB / 1.209 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.4424, allocations: 4 kB / 1.209 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.4425, allocations: 89.66 kB / 1.209 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4426, allocations: 0 / 1.209 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.4426, allocations: 7.938 kB / 1.209 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/0.4426, allocations: 11.98 kB / 1.209 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.4428, allocations: 75.95 kB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.4433, allocations: 348.6 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.4435, allocations: 98.53 kB / 1.21 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.477e-05/0.4436, allocations: 52.94 kB / 1.21 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009331/0.4445, allocations: 477.4 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.4446, allocations: 34.56 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.4446, allocations: 0 / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003153/0.4449, allocations: 121.8 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.445, allocations: 59.34 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.984e-05/0.4451, allocations: 109.8 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.4451, allocations: 29.7 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.4452, allocations: 100.2 kB / 1.211 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.4452, allocations: 35.55 kB / 1.211 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.4453, allocations: 41.61 kB / 1.211 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4454, allocations: 314.8 kB / 1.211 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.336e-05/0.4455, allocations: 27.92 kB / 1.211 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.4456, allocations: 78.11 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.4457, allocations: 117 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4457, allocations: 0 / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002131/0.4459, allocations: 141.6 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.446, allocations: 8 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.446, allocations: 0 / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.446, allocations: 4 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4461, allocations: 31.86 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.4461, allocations: 4 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.4462, allocations: 11.84 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.4462, allocations: 8 kB / 1.211 GB, free: 6.316 MB / 0.9669 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.0001002/0.4463, allocations: 125.8 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.4463, allocations: 11.94 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.4466, allocations: 122 kB / 1.212 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4466, allocations: 7.922 kB / 1.212 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4466, allocations: 0 / 1.212 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4466, allocations: 0 / 1.212 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.4468, allocations: 185.6 kB / 1.212 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4468, allocations: 0 / 1.212 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.4469, allocations: 16 kB / 1.212 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4469, allocations: 4 kB / 1.212 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.4469, allocations: 256 / 1.212 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4469, allocations: 7.875 kB / 1.212 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.4469, allocations: 7.984 kB / 1.212 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.4471, allocations: 199.4 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.4472, allocations: 93 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.4472, allocations: 0 / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.808e-05/0.4473, allocations: 7.938 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.4473, allocations: 11.98 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.4473, allocations: 4 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.844e-05/0.4474, allocations: 87.28 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4474, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003545/0.4477, allocations: 71.92 kB / 1.212 GB, free: 5.27 MB / 0.9669 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.0003546/0.4481, allocations: 195 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.4483, allocations: 95.83 kB / 1.213 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4483, allocations: 0 / 1.213 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.4484, allocations: 39.92 kB / 1.213 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.4487, allocations: 21.89 kB / 1.213 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.449, allocations: 191.1 kB / 1.213 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4493, allocations: 0.6924 MB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.4495, allocations: 53.09 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.4495, allocations: 11.44 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.4495, allocations: 0 / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of Templates: time 0.005008/0.4545, allocations: 1.897 MB / 1.215 GB, free: 2.082 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches