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.361/1.361, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 177.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008528/0.0008529, allocations: 97.94 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 10.06 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 106.3 MB / 0.9001 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.081/4.281, allocations: 2.173 GB / 3.073 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/4.281, allocations: 97.31 kB / 3.073 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4835/4.765, allocations: 27.99 MB / 3.101 GB, free: 334.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.994e-06/4.765, allocations: 1.062 kB / 3.101 GB, free: 334.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.125e-06/4.765, allocations: 1.031 kB / 3.101 GB, free: 334.9 MB / 0.8855 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.0006303/4.766, allocations: 385 kB / 3.101 GB, free: 334.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/4.766, allocations: 13.44 kB / 3.101 GB, free: 334.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/4.766, allocations: 9.938 kB / 3.101 GB, free: 334.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/4.766, allocations: 173.2 kB / 3.101 GB, free: 334.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/4.766, allocations: 8.953 kB / 3.101 GB, free: 334.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/4.766, allocations: 6.125 kB / 3.101 GB, free: 334.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/4.766, allocations: 91.77 kB / 3.101 GB, free: 334.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/4.766, allocations: 0 / 3.101 GB, free: 334.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/4.766, allocations: 1.375 kB / 3.101 GB, free: 334.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/4.766, allocations: 12.7 kB / 3.101 GB, free: 334.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/4.767, allocations: 77.77 kB / 3.102 GB, free: 334.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/4.767, allocations: 337 kB / 3.102 GB, free: 334 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/4.767, allocations: 112.5 kB / 3.102 GB, free: 333.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006893/4.768, allocations: 451.5 kB / 3.102 GB, free: 333.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/4.768, allocations: 30.56 kB / 3.102 GB, free: 333.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/4.768, allocations: 0 / 3.102 GB, free: 333.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0003155/4.768, allocations: 130 kB / 3.103 GB, free: 333.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/4.768, allocations: 60.89 kB / 3.103 GB, free: 333.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/4.769, allocations: 103.2 kB / 3.103 GB, free: 333.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/4.769, allocations: 27.86 kB / 3.103 GB, free: 333.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/4.769, allocations: 98.2 kB / 3.103 GB, free: 333.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/4.769, allocations: 37.12 kB / 3.103 GB, free: 333.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/4.769, allocations: 0 / 3.103 GB, free: 333.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.621e-05/4.769, allocations: 320.8 kB / 3.103 GB, free: 332.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/4.769, allocations: 27.22 kB / 3.103 GB, free: 332.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/4.769, allocations: 74.03 kB / 3.103 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.761e-05/4.769, allocations: 46.27 kB / 3.103 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/4.769, allocations: 1.438 kB / 3.103 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002422/4.769, allocations: 146 kB / 3.103 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/4.769, allocations: 6.375 kB / 3.103 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/4.769, allocations: 1.25 kB / 3.103 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/4.769, allocations: 2.188 kB / 3.103 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/4.769, allocations: 25.16 kB / 3.103 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/4.77, allocations: 6.531 kB / 3.103 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.107e-05/4.77, allocations: 15.8 kB / 3.103 GB, free: 332.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/4.77, allocations: 4.312 kB / 3.103 GB, free: 332.6 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.66e-05/4.77, allocations: 127.8 kB / 3.104 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/4.77, allocations: 7.344 kB / 3.104 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/4.77, allocations: 128.4 kB / 3.104 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/4.77, allocations: 0 / 3.104 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/4.77, allocations: 1.188 kB / 3.104 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/4.77, allocations: 3.938 kB / 3.104 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/4.77, allocations: 191.6 kB / 3.104 GB, free: 332.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/4.77, allocations: 4 kB / 3.104 GB, free: 332.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/4.77, allocations: 18 kB / 3.104 GB, free: 332.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/4.77, allocations: 0.6875 kB / 3.104 GB, free: 332.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/4.77, allocations: 1.406 kB / 3.104 GB, free: 332.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/4.77, allocations: 5.094 kB / 3.104 GB, free: 332.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/4.77, allocations: 0 / 3.104 GB, free: 332.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/4.771, allocations: 197.1 kB / 3.104 GB, free: 332.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/4.771, allocations: 90.38 kB / 3.104 GB, free: 332 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/4.771, allocations: 8.875 kB / 3.104 GB, free: 332 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.588e-05/4.771, allocations: 9.25 kB / 3.104 GB, free: 332 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/4.771, allocations: 2.75 kB / 3.104 GB, free: 332 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/4.771, allocations: 2.688 kB / 3.104 GB, free: 332 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.174e-05/4.771, allocations: 90.72 kB / 3.104 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/4.771, allocations: 0 / 3.104 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006434/4.772, allocations: 119.3 kB / 3.104 GB, free: 331.9 MB / 0.8855 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 (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.001384/4.773, allocations: 0.62 MB / 3.105 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002159/4.773, allocations: 93.23 kB / 3.105 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/4.773, allocations: 0 / 3.105 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/4.773, allocations: 40.02 kB / 3.105 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/4.773, allocations: 23.8 kB / 3.105 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/4.774, allocations: 192 kB / 3.105 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/4.774, allocations: 0.6924 MB / 3.106 GB, free: 330.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000165/4.774, allocations: 54.02 kB / 3.106 GB, free: 330.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/4.774, allocations: 13.59 kB / 3.106 GB, free: 330.9 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/4.774, allocations: 0 / 3.106 GB, free: 330.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.01313/4.787, allocations: 8.82 MB / 3.115 GB, free: 329.3 MB / 0.8855 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