Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 249.5 MB / 257 MB, free: 6.945 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.001096/0.001096, allocations: 175.5 kB / 316.3 MB, free: 3.234 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.701/1.701, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001062/0.001062, allocations: 100.5 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.327e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2085, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7416/0.9501, allocations: 146.8 MB / 1.029 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.9506, allocations: 112.2 kB / 1.029 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08265/1.033, allocations: 21.71 MB / 1.05 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.493e-06/1.033, allocations: 0 / 1.05 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.603e-05/1.033, allocations: 12 kB / 1.05 GB, free: 4.441 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002497/1.036, allocations: 1.02 MB / 1.051 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.036, allocations: 8.031 kB / 1.051 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000438/1.036, allocations: 101.3 kB / 1.051 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/1.037, allocations: 419.1 kB / 1.051 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/1.037, allocations: 7.984 kB / 1.051 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/1.037, allocations: 20 kB / 1.051 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003902/1.038, allocations: 422.8 kB / 1.052 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/1.038, allocations: 388.6 kB / 1.052 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.038, allocations: 0 / 1.052 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/1.038, allocations: 4 kB / 1.052 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/1.038, allocations: 3.953 kB / 1.052 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008238/1.039, allocations: 0.687 MB / 1.053 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/1.039, allocations: 0.5505 MB / 1.053 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/1.04, allocations: 333.1 kB / 1.054 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.041, allocations: 1.032 MB / 1.055 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/1.041, allocations: 395.9 kB / 1.055 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/1.041, allocations: 0 / 1.055 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0009911/1.042, allocations: 0.9662 MB / 1.056 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/1.042, allocations: 81.11 kB / 1.056 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/1.043, allocations: 0.9981 MB / 1.057 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/1.043, allocations: 29.7 kB / 1.057 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/1.044, allocations: 264 kB / 1.057 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/1.044, allocations: 22.62 kB / 1.057 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/1.044, allocations: 4.031 kB / 1.057 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.044, allocations: 419.7 kB / 1.058 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/1.045, allocations: 1.191 MB / 1.059 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.046, allocations: 1.323 MB / 1.06 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/1.048, allocations: 1.586 MB / 1.062 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.048, allocations: 0 / 1.062 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004208/1.052, allocations: 3.376 MB / 1.065 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.052, allocations: 8.031 kB / 1.065 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.052, allocations: 4 kB / 1.065 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/1.052, allocations: 4 kB / 1.065 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/1.053, allocations: 143.3 kB / 1.065 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.053, allocations: 4 kB / 1.065 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/1.054, allocations: 228.2 kB / 1.066 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.054, allocations: 58.67 kB / 1.066 GB, free: 6.582 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.000173/1.054, allocations: 124.5 kB / 1.066 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.054, allocations: 66.77 kB / 1.066 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009409/1.055, allocations: 0.9225 MB / 1.067 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.055, allocations: 4 kB / 1.067 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.055, allocations: 0 / 1.067 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.055, allocations: 0 / 1.067 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/1.056, allocations: 471.3 kB / 1.067 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.056, allocations: 3.984 kB / 1.067 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/1.056, allocations: 7.938 kB / 1.067 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/1.056, allocations: 8.031 kB / 1.067 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/1.056, allocations: 7.109 kB / 1.067 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/1.056, allocations: 4 kB / 1.067 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.056, allocations: 4 kB / 1.067 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/1.057, allocations: 0.9902 MB / 1.068 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/1.057, allocations: 151.9 kB / 1.068 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/1.057, allocations: 4 kB / 1.068 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/1.057, allocations: 8 kB / 1.068 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/1.057, allocations: 11.55 kB / 1.068 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/1.057, allocations: 11.98 kB / 1.068 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006467/1.058, allocations: 0.5929 MB / 1.069 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.593e-06/1.058, allocations: 0 / 1.069 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00182/1.06, allocations: 484.9 kB / 1.069 GB, free: 2.875 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00268/1.062, allocations: 0.5748 MB / 1.07 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002265/1.065, allocations: 2.323 MB / 1.072 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.065, allocations: 4 kB / 1.072 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002752/1.065, allocations: 338.7 kB / 1.073 GB, free: 436 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/1.065, allocations: 33.45 kB / 1.073 GB, free: 420 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/1.067, allocations: 1.427 MB / 1.074 GB, free: 14.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/1.068, allocations: 0.9775 MB / 1.075 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002336/1.068, allocations: 59.36 kB / 1.075 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/1.068, allocations: 39.17 kB / 1.075 GB, free: 13.88 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.068, allocations: 0 / 1.075 GB, free: 13.88 MB / 0.698 GB Notification: Performance of Templates: time 0.01932/1.088, allocations: 8.892 MB / 1.084 GB, free: 5.055 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches