Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 128 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.001482/0.001482, allocations: 195.2 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.696/2.696, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.08 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3006, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002788/0.3034, allocations: 1.332 MB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.4545, allocations: 147.9 MB / 1.214 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.4546, allocations: 0 / 1.214 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.4546, allocations: 3.938 kB / 1.214 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.4548, allocations: 43.86 kB / 1.214 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.4559, allocations: 354.6 kB / 1.214 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.934e-05/0.456, allocations: 71.81 kB / 1.214 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.456, allocations: 0 / 1.214 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.4561, allocations: 35.84 kB / 1.214 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.4562, allocations: 55.88 kB / 1.214 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.4562, allocations: 4 kB / 1.214 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007107/0.4569, allocations: 407.1 kB / 1.215 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.457, allocations: 19.97 kB / 1.215 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.457, allocations: 35.84 kB / 1.215 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.4575, allocations: 267.7 kB / 1.215 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4575, allocations: 15.94 kB / 1.215 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4575, allocations: 0 / 1.215 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4575, allocations: 0 / 1.215 GB, free: 3.328 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.0004113/0.4579, allocations: 393.2 kB / 1.216 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.458, allocations: 11.97 kB / 1.216 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.458, allocations: 4.938 kB / 1.216 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.792e-05/0.4581, allocations: 176.2 kB / 1.216 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.4581, allocations: 7.938 kB / 1.216 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.4581, allocations: 7.984 kB / 1.216 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.4583, allocations: 93.66 kB / 1.216 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.4583, allocations: 0 / 1.216 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.4583, allocations: 0 / 1.216 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4584, allocations: 8 kB / 1.216 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.4585, allocations: 83.95 kB / 1.216 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.4589, allocations: 340.6 kB / 1.216 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.4591, allocations: 98.55 kB / 1.216 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.4592, allocations: 60.83 kB / 1.216 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008276/0.46, allocations: 465.4 kB / 1.217 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.46, allocations: 30.56 kB / 1.217 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.4601, allocations: 0 / 1.217 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002685/0.4603, allocations: 133.6 kB / 1.217 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.4604, allocations: 55.34 kB / 1.217 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.4605, allocations: 109.8 kB / 1.217 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4605, allocations: 25.7 kB / 1.217 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.4605, allocations: 108.2 kB / 1.217 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.4606, allocations: 35.45 kB / 1.217 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.4606, allocations: 29.72 kB / 1.217 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4607, allocations: 322.8 kB / 1.218 GB, free: 488 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.4608, allocations: 31.98 kB / 1.218 GB, free: 456 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.4609, allocations: 69.12 kB / 1.218 GB, free: 368 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.461, allocations: 117 kB / 1.218 GB, free: 232 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.461, allocations: 3.938 kB / 1.218 GB, free: 228 kB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00019/0.4612, allocations: 133.5 kB / 1.218 GB, free: 88 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4613, allocations: 9.406 kB / 1.218 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4613, allocations: 0 / 1.218 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.4613, allocations: 4 kB / 1.218 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.4614, allocations: 31.91 kB / 1.218 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.4614, allocations: 8.156 kB / 1.218 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.4615, allocations: 15.78 kB / 1.218 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4615, allocations: 8 kB / 1.218 GB, free: 12 kB / 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 9.969e-05/0.4616, allocations: 127.5 kB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.4616, allocations: 7.906 kB / 1.218 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.4618, allocations: 126.4 kB / 1.218 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4618, allocations: 3.938 kB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4618, allocations: 0 / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4619, allocations: 0 / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.462, allocations: 189.5 kB / 1.218 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4621, allocations: 0 / 1.218 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.4621, allocations: 23.98 kB / 1.219 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4621, allocations: 256 / 1.219 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4621, allocations: 0 / 1.219 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.4622, allocations: 7.938 kB / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4622, allocations: 0 / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.4623, allocations: 203.4 kB / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.4624, allocations: 97 kB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.4624, allocations: 0 / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.4625, allocations: 3.938 kB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.4625, allocations: 8 kB / 1.219 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.4625, allocations: 4 kB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.4626, allocations: 87.27 kB / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4626, allocations: 0 / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003312/0.4629, allocations: 83.92 kB / 1.219 GB, free: 14.96 MB / 0.9825 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.0003074/0.4632, allocations: 187.6 kB / 1.219 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.4634, allocations: 99.77 kB / 1.219 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4634, allocations: 4.312 kB / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.4635, allocations: 32.42 kB / 1.219 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.4637, allocations: 15.98 kB / 1.219 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.4641, allocations: 171 kB / 1.219 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.4643, allocations: 0.6924 MB / 1.22 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.4644, allocations: 52.3 kB / 1.22 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.4645, allocations: 19.44 kB / 1.22 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.4645, allocations: 0 / 1.22 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.004551/0.469, allocations: 1.9 MB / 1.222 GB, free: 11.79 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches