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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 188.8 kB / 491.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.714/1.714, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009804/0.0009801, allocations: 95.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.096e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3264, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.039/5.365, allocations: 1.713 GB / 2.925 GB, free: 126 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/5.366, allocations: 91.5 kB / 2.925 GB, free: 126 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05263/5.418, allocations: 27.66 MB / 2.952 GB, free: 103.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.084e-06/5.418, allocations: 0 / 2.952 GB, free: 103.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.542e-06/5.418, allocations: 0 / 2.952 GB, free: 103.2 MB / 1.151 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.0004027/5.419, allocations: 390.1 kB / 2.953 GB, free: 102.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/5.419, allocations: 8.031 kB / 2.953 GB, free: 102.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/5.419, allocations: 4 kB / 2.953 GB, free: 102.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/5.419, allocations: 167 kB / 2.953 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/5.419, allocations: 4 kB / 2.953 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/5.419, allocations: 4 kB / 2.953 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001634/5.419, allocations: 66.17 kB / 2.953 GB, free: 102.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/5.419, allocations: 98.41 kB / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/5.419, allocations: 0 / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/5.419, allocations: 0 / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/5.419, allocations: 11.98 kB / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/5.42, allocations: 310.8 kB / 2.953 GB, free: 102.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/5.42, allocations: 101.8 kB / 2.954 GB, free: 102 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/5.42, allocations: 43.97 kB / 2.954 GB, free: 102 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/5.421, allocations: 464 kB / 2.954 GB, free: 101.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/5.421, allocations: 30.56 kB / 2.954 GB, free: 101.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/5.421, allocations: 4 kB / 2.954 GB, free: 101.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.07491/5.496, allocations: 8.845 MB / 2.963 GB, free: 92.91 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/5.496, allocations: 67.22 kB / 2.963 GB, free: 92.83 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/5.496, allocations: 100.8 kB / 2.963 GB, free: 92.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/5.496, allocations: 25.7 kB / 2.963 GB, free: 92.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/5.496, allocations: 104.2 kB / 2.963 GB, free: 92.59 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/5.496, allocations: 31.28 kB / 2.963 GB, free: 92.56 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/5.496, allocations: 0 / 2.963 GB, free: 92.56 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/5.496, allocations: 326.4 kB / 2.963 GB, free: 92.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.618e-05/5.496, allocations: 27.73 kB / 2.963 GB, free: 92.21 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/5.496, allocations: 64.33 kB / 2.963 GB, free: 92.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07329/5.569, allocations: 8.805 MB / 2.972 GB, free: 83.69 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/5.569, allocations: 0 / 2.972 GB, free: 83.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.07381/5.643, allocations: 8.879 MB / 2.981 GB, free: 75.12 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/5.643, allocations: 11.89 kB / 2.981 GB, free: 75.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/5.643, allocations: 0 / 2.981 GB, free: 75.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/5.643, allocations: 4 kB / 2.981 GB, free: 75.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/5.643, allocations: 31.92 kB / 2.981 GB, free: 75.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/5.643, allocations: 8.156 kB / 2.981 GB, free: 75.07 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/5.643, allocations: 8.156 kB / 2.981 GB, free: 75.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/5.643, allocations: 4 kB / 2.981 GB, free: 75.05 MB / 1.151 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 7.278e-05/5.644, allocations: 101 kB / 2.981 GB, free: 74.95 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/5.644, allocations: 4 kB / 2.981 GB, free: 74.95 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07315/5.717, allocations: 8.889 MB / 2.99 GB, free: 66.04 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/5.717, allocations: 4 kB / 2.99 GB, free: 66.04 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/5.717, allocations: 0 / 2.99 GB, free: 66.04 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/5.717, allocations: 0 / 2.99 GB, free: 66.04 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/5.717, allocations: 154.2 kB / 2.99 GB, free: 65.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/5.717, allocations: 0 / 2.99 GB, free: 65.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/5.717, allocations: 23.98 kB / 2.99 GB, free: 65.82 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/5.717, allocations: 0 / 2.99 GB, free: 65.82 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/5.717, allocations: 3.938 kB / 2.99 GB, free: 65.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/5.717, allocations: 0 / 2.99 GB, free: 65.82 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/5.717, allocations: 3.953 kB / 2.99 GB, free: 65.82 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07339/5.791, allocations: 8.953 MB / 2.998 GB, free: 56.84 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/5.791, allocations: 88.95 kB / 2.999 GB, free: 56.73 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/5.791, allocations: 3.984 kB / 2.999 GB, free: 56.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.535e-05/5.791, allocations: 0 / 2.999 GB, free: 56.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/5.791, allocations: 7.953 kB / 2.999 GB, free: 56.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/5.791, allocations: 8 kB / 2.999 GB, free: 56.71 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.619e-05/5.791, allocations: 91.27 kB / 2.999 GB, free: 56.62 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.21e-07/5.791, allocations: 0 / 2.999 GB, free: 56.62 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005533/5.792, allocations: 107.9 kB / 2.999 GB, free: 56.52 MB / 1.151 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.001222/5.793, allocations: 0.7229 MB / 2.999 GB, free: 55.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002146/5.793, allocations: 83.95 kB / 3 GB, free: 55.71 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/5.793, allocations: 0 / 3 GB, free: 55.71 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/5.793, allocations: 31.98 kB / 3 GB, free: 55.68 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/5.793, allocations: 20.3 kB / 3 GB, free: 55.66 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/5.794, allocations: 107 kB / 3 GB, free: 55.54 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/5.794, allocations: 0.6924 MB / 3 GB, free: 54.82 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000144/5.794, allocations: 52.88 kB / 3 GB, free: 54.77 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/5.794, allocations: 15.44 kB / 3 GB, free: 54.75 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/5.794, allocations: 0 / 3 GB, free: 54.75 MB / 1.151 GB Notification: Performance of Templates: time 0.008414/5.802, allocations: 4.842 MB / 3.005 GB, free: 49.95 MB / 1.151 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches