Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001753/0.001753, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001677/0.001677, allocations: 190 kB / 17.2 MB, free: 5.953 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.46/1.46, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437.1 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001994, allocations: 69.39 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3591, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002919/0.3621, allocations: 1.327 MB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.8529/1.215, allocations: 147.9 MB / 1.164 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/1.215, allocations: 0 / 1.164 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/1.215, allocations: 2.484 kB / 1.164 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/1.216, allocations: 44.41 kB / 1.164 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/1.217, allocations: 360.4 kB / 1.164 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/1.217, allocations: 68.61 kB / 1.164 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/1.217, allocations: 5.672 kB / 1.164 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/1.217, allocations: 33.2 kB / 1.164 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/1.217, allocations: 49.59 kB / 1.164 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/1.217, allocations: 2.406 kB / 1.164 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008759/1.218, allocations: 416.5 kB / 1.165 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/1.218, allocations: 21.11 kB / 1.165 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/1.218, allocations: 33.94 kB / 1.165 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/1.219, allocations: 272 kB / 1.165 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.219, allocations: 1.875 kB / 1.165 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.363e-06/1.219, allocations: 0 / 1.165 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.219, allocations: 1.438 kB / 1.165 GB, free: 4.809 MB / 0.8731 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.000533/1.219, allocations: 399.5 kB / 1.165 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.219, allocations: 14.69 kB / 1.165 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/1.219, allocations: 12.12 kB / 1.165 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.22, allocations: 168.2 kB / 1.166 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/1.22, allocations: 5.5 kB / 1.166 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/1.22, allocations: 10.62 kB / 1.166 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/1.22, allocations: 86.8 kB / 1.166 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.22, allocations: 0 / 1.166 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.22, allocations: 1.031 kB / 1.166 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/1.22, allocations: 15.03 kB / 1.166 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/1.22, allocations: 82.06 kB / 1.166 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/1.221, allocations: 338.4 kB / 1.166 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/1.221, allocations: 98.89 kB / 1.166 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/1.221, allocations: 54.94 kB / 1.166 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009591/1.222, allocations: 471.1 kB / 1.167 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.222, allocations: 31.47 kB / 1.167 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/1.222, allocations: 0 / 1.167 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0002922/1.222, allocations: 131.1 kB / 1.167 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/1.222, allocations: 56.22 kB / 1.167 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/1.222, allocations: 116.8 kB / 1.167 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/1.222, allocations: 25.7 kB / 1.167 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/1.222, allocations: 100.2 kB / 1.167 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/1.222, allocations: 45.59 kB / 1.167 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/1.223, allocations: 31.53 kB / 1.167 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.223, allocations: 320.5 kB / 1.167 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/1.223, allocations: 31.75 kB / 1.167 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/1.223, allocations: 69.77 kB / 1.168 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/1.223, allocations: 117.4 kB / 1.168 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.223, allocations: 1.594 kB / 1.168 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002451/1.223, allocations: 147.3 kB / 1.168 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.223, allocations: 4.812 kB / 1.168 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.223, allocations: 5.281 kB / 1.168 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.223, allocations: 2.844 kB / 1.168 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.224, allocations: 26.36 kB / 1.168 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/1.224, allocations: 6.875 kB / 1.168 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/1.224, allocations: 10.44 kB / 1.168 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.224, allocations: 12.64 kB / 1.168 GB, free: 2.273 MB / 0.8731 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.0001204/1.224, allocations: 124 kB / 1.168 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/1.224, allocations: 7.656 kB / 1.168 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/1.224, allocations: 123.6 kB / 1.168 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.224, allocations: 1.188 kB / 1.168 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.224, allocations: 5.125 kB / 1.168 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.224, allocations: 2.484 kB / 1.168 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/1.224, allocations: 174.9 kB / 1.168 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.224, allocations: 0 / 1.168 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/1.224, allocations: 28.56 kB / 1.168 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.224, allocations: 1.188 kB / 1.168 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.224, allocations: 3.719 kB / 1.168 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.224, allocations: 0 / 1.168 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.224, allocations: 5 kB / 1.168 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/1.225, allocations: 199.6 kB / 1.169 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/1.225, allocations: 93.67 kB / 1.169 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/1.225, allocations: 3.828 kB / 1.169 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/1.225, allocations: 4 kB / 1.169 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/1.225, allocations: 13.88 kB / 1.169 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/1.225, allocations: 5.344 kB / 1.169 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.6e-05/1.225, allocations: 86.75 kB / 1.169 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.225, allocations: 0 / 1.169 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004153/1.225, allocations: 78.95 kB / 1.169 GB, free: 1.504 MB / 0.8731 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.0003846/1.226, allocations: 185.2 kB / 1.169 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002006/1.226, allocations: 93.61 kB / 1.169 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.226, allocations: 0 / 1.169 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.587e-05/1.226, allocations: 37.61 kB / 1.169 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/1.226, allocations: 22.77 kB / 1.169 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/1.227, allocations: 209.1 kB / 1.169 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/1.227, allocations: 0.694 MB / 1.17 GB, free: 500 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/1.227, allocations: 18.78 kB / 1.17 GB, free: 488 kB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.227, allocations: 0 / 1.17 GB, free: 488 kB / 0.8731 GB Notification: Performance of Templates: time 0.003989/1.231, allocations: 1.849 MB / 1.172 GB, free: 288 kB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches