Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009273/0.0009271, allocations: 99.2 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.029e-05/4.033e-05, allocations: 7.984 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.348/6.577, allocations: 2.173 GB / 3.065 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/6.577, allocations: 97.23 kB / 3.065 GB, free: 156 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0534/6.631, allocations: 27.92 MB / 3.092 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/6.631, allocations: 0 / 3.092 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.284e-06/6.631, allocations: 0 / 3.092 GB, free: 132.6 MB / 0.8698 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.0004246/6.631, allocations: 389.7 kB / 3.093 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/6.631, allocations: 8.031 kB / 3.093 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/6.631, allocations: 19.78 kB / 3.093 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.138e-05/6.631, allocations: 159.1 kB / 3.093 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/6.631, allocations: 7.938 kB / 3.093 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/6.631, allocations: 0 / 3.093 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/6.632, allocations: 92.28 kB / 3.093 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/6.632, allocations: 0 / 3.093 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/6.632, allocations: 3.812 kB / 3.093 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/6.632, allocations: 23.94 kB / 3.093 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/6.632, allocations: 78.28 kB / 3.093 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/6.632, allocations: 335.3 kB / 3.093 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/6.632, allocations: 97.3 kB / 3.093 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/6.633, allocations: 56.36 kB / 3.094 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005952/6.633, allocations: 465 kB / 3.094 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/6.633, allocations: 34 kB / 3.094 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/6.633, allocations: 0 / 3.094 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0002136/6.633, allocations: 98.91 kB / 3.094 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/6.633, allocations: 55.41 kB / 3.094 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/6.634, allocations: 104.1 kB / 3.094 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/6.634, allocations: 25.8 kB / 3.094 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/6.634, allocations: 107.8 kB / 3.094 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/6.634, allocations: 39.08 kB / 3.094 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/6.634, allocations: 3.688 kB / 3.094 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.202e-05/6.634, allocations: 314.3 kB / 3.095 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/6.634, allocations: 31.23 kB / 3.095 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/6.634, allocations: 73.75 kB / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.972e-05/6.634, allocations: 43.28 kB / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/6.634, allocations: 0 / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001713/6.634, allocations: 140.2 kB / 3.095 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/6.634, allocations: 11.95 kB / 3.095 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/6.634, allocations: 0 / 3.095 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/6.634, allocations: 4 kB / 3.095 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/6.634, allocations: 27.92 kB / 3.095 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/6.634, allocations: 4 kB / 3.095 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/6.634, allocations: 12.09 kB / 3.095 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/6.634, allocations: 4 kB / 3.095 GB, free: 129.6 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/6.634, allocations: 112.4 kB / 3.095 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/6.634, allocations: 8.031 kB / 3.095 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/6.635, allocations: 138.1 kB / 3.095 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/6.635, allocations: 0 / 3.095 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/6.635, allocations: 0 / 3.095 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/6.635, allocations: 3.938 kB / 3.095 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/6.635, allocations: 181.2 kB / 3.095 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/6.635, allocations: 0 / 3.095 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/6.635, allocations: 23.92 kB / 3.096 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/6.635, allocations: 4 kB / 3.096 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/6.635, allocations: 0 / 3.096 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/6.635, allocations: 7.891 kB / 3.096 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/6.635, allocations: 0 / 3.096 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/6.635, allocations: 189.9 kB / 3.096 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/6.635, allocations: 96.72 kB / 3.096 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/6.635, allocations: 0 / 3.096 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/6.635, allocations: 0 / 3.096 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/6.635, allocations: 19.69 kB / 3.096 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/6.635, allocations: 4 kB / 3.096 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.188e-05/6.635, allocations: 87.27 kB / 3.096 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.635, allocations: 3.938 kB / 3.096 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004724/6.636, allocations: 112.7 kB / 3.096 GB, free: 128.6 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009191/6.637, allocations: 0.6357 MB / 3.097 GB, free: 128 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001537/6.637, allocations: 74.8 kB / 3.097 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/6.637, allocations: 8 kB / 3.097 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/6.637, allocations: 35.17 kB / 3.097 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/6.637, allocations: 20.62 kB / 3.097 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/6.637, allocations: 117.8 kB / 3.097 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/6.638, allocations: 0.6963 MB / 3.098 GB, free: 127 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000126/6.638, allocations: 57.08 kB / 3.098 GB, free: 127 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/6.638, allocations: 15.44 kB / 3.098 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/6.638, allocations: 0 / 3.098 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.01249/6.65, allocations: 10.47 MB / 3.108 GB, free: 116.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches