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.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.824 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.00117/0.00117, allocations: 180.3 kB / 316.3 MB, free: 3.281 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.697/1.697, allocations: 205.3 MB / 0.5671 GB, free: 15.94 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.00104/0.00104, allocations: 90.53 kB / 0.6714 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.871e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2488, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.571/6.82, allocations: 2.173 GB / 3.059 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/6.82, allocations: 100.7 kB / 3.059 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05247/6.873, allocations: 27.38 MB / 3.085 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/6.873, allocations: 0 / 3.085 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.533e-06/6.873, allocations: 0 / 3.085 GB, free: 169.8 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.0003995/6.873, allocations: 393.7 kB / 3.086 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/6.873, allocations: 8.031 kB / 3.086 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/6.874, allocations: 11.86 kB / 3.086 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.562e-05/6.874, allocations: 163.1 kB / 3.086 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/6.874, allocations: 4 kB / 3.086 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/6.874, allocations: 4 kB / 3.086 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001543/6.874, allocations: 66.86 kB / 3.086 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/6.874, allocations: 88.97 kB / 3.086 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/6.874, allocations: 0.8438 kB / 3.086 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/6.874, allocations: 7.953 kB / 3.086 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/6.874, allocations: 11.98 kB / 3.086 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/6.874, allocations: 311.5 kB / 3.087 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/6.875, allocations: 97.81 kB / 3.087 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/6.875, allocations: 44.17 kB / 3.087 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/6.875, allocations: 458.9 kB / 3.087 GB, free: 168 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/6.875, allocations: 39.27 kB / 3.087 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/6.875, allocations: 4 kB / 3.087 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.07575/6.951, allocations: 8.849 MB / 3.096 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/6.951, allocations: 51.41 kB / 3.096 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/6.951, allocations: 104.7 kB / 3.096 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/6.951, allocations: 25.7 kB / 3.096 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/6.951, allocations: 100.2 kB / 3.096 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/6.951, allocations: 34.34 kB / 3.096 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/6.951, allocations: 3.938 kB / 3.096 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/6.951, allocations: 322.8 kB / 3.096 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/6.951, allocations: 27.36 kB / 3.096 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/6.952, allocations: 68.45 kB / 3.096 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07507/7.027, allocations: 8.803 MB / 3.105 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/7.027, allocations: 0 / 3.105 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.07522/7.102, allocations: 8.884 MB / 3.114 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/7.102, allocations: 8 kB / 3.114 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/7.102, allocations: 0 / 3.114 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/7.102, allocations: 7.953 kB / 3.114 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/7.102, allocations: 28.14 kB / 3.114 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/7.102, allocations: 4 kB / 3.114 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/7.102, allocations: 7.844 kB / 3.114 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/7.102, allocations: 8 kB / 3.114 GB, free: 141.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 6.022e-05/7.102, allocations: 108.8 kB / 3.114 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/7.102, allocations: 4 kB / 3.114 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07519/7.178, allocations: 8.873 MB / 3.123 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/7.178, allocations: 7.953 kB / 3.123 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/7.178, allocations: 7.922 kB / 3.123 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/7.178, allocations: 0 / 3.123 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/7.178, allocations: 158 kB / 3.123 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/7.178, allocations: 0 / 3.123 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/7.178, allocations: 19.98 kB / 3.123 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/7.178, allocations: 0 / 3.123 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/7.178, allocations: 0 / 3.123 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/7.178, allocations: 0 / 3.123 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/7.178, allocations: 4 kB / 3.123 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07452/7.252, allocations: 8.947 MB / 3.132 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/7.253, allocations: 89.09 kB / 3.132 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/7.253, allocations: 4.234 kB / 3.132 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/7.253, allocations: 4 kB / 3.132 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/7.253, allocations: 7.875 kB / 3.132 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/7.253, allocations: 7.938 kB / 3.132 GB, free: 124 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.239e-05/7.253, allocations: 94.58 kB / 3.132 GB, free: 124 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.253, allocations: 0 / 3.132 GB, free: 124 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004874/7.253, allocations: 110.2 kB / 3.132 GB, free: 123.9 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.0008614/7.254, allocations: 0.7129 MB / 3.133 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001668/7.254, allocations: 70.42 kB / 3.133 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/7.254, allocations: 0 / 3.133 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/7.254, allocations: 39.17 kB / 3.133 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/7.255, allocations: 20.89 kB / 3.133 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/7.255, allocations: 108.2 kB / 3.133 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/7.255, allocations: 0.6962 MB / 3.133 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001242/7.255, allocations: 56.97 kB / 3.133 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/7.255, allocations: 15.44 kB / 3.133 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/7.255, allocations: 0 / 3.133 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.007551/7.263, allocations: 4.834 MB / 3.138 GB, free: 117.4 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