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.415/1.415, allocations: 249.3 MB / 261.8 MB, free: 5.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.001087/0.001088, allocations: 176.6 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.388/1.388, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.0009159/0.0009161, allocations: 90.47 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.214e-05, allocations: 4 kB / 0.788 GB, free: 97.06 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1737, allocations: 106.3 MB / 0.8918 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6819/0.8557, allocations: 146.5 MB / 1.035 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.856, allocations: 120 kB / 1.035 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1001/0.9562, allocations: 21.79 MB / 1.056 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9562, allocations: 0 / 1.056 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.551e-05/0.9563, allocations: 12 kB / 1.056 GB, free: 1.32 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.001898/0.9582, allocations: 1.019 MB / 1.057 GB, free: 316 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9582, allocations: 12.03 kB / 1.057 GB, free: 304 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.9586, allocations: 98.7 kB / 1.057 GB, free: 204 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.9592, allocations: 419.4 kB / 1.058 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.9592, allocations: 19.62 kB / 1.058 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.9593, allocations: 39.67 kB / 1.058 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.9597, allocations: 390.1 kB / 1.058 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.9597, allocations: 4 kB / 1.058 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.9597, allocations: 0 / 1.058 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.9597, allocations: 0 / 1.058 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.9601, allocations: 431.3 kB / 1.059 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.9608, allocations: 0.7335 MB / 1.059 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.9613, allocations: 0.5615 MB / 1.06 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.9616, allocations: 332.2 kB / 1.06 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009491/0.9625, allocations: 1.032 MB / 1.061 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.9629, allocations: 411 kB / 1.062 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.9629, allocations: 4 kB / 1.062 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008955/0.9638, allocations: 0.9612 MB / 1.063 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.9639, allocations: 88.98 kB / 1.063 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.9649, allocations: 1.054 MB / 1.064 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.9649, allocations: 40.2 kB / 1.064 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.9651, allocations: 276.9 kB / 1.064 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.9652, allocations: 22.61 kB / 1.064 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.9652, allocations: 15.62 kB / 1.064 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.9654, allocations: 421.6 kB / 1.064 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.9666, allocations: 1.198 MB / 1.066 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.9678, allocations: 1.347 MB / 1.067 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.9693, allocations: 1.6 MB / 1.068 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.9693, allocations: 0 / 1.068 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003801/0.9731, allocations: 3.423 MB / 1.072 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.9732, allocations: 7.984 kB / 1.072 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.9732, allocations: 8.031 kB / 1.072 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9732, allocations: 4 kB / 1.072 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.9738, allocations: 139.4 kB / 1.072 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.9739, allocations: 4 kB / 1.072 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.9744, allocations: 245.8 kB / 1.072 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/0.9745, allocations: 59.72 kB / 1.072 GB, free: 3.207 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.0001291/0.9746, allocations: 131 kB / 1.072 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.9747, allocations: 70.77 kB / 1.072 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008825/0.9756, allocations: 0.9314 MB / 1.073 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.9756, allocations: 0 / 1.073 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9756, allocations: 0 / 1.073 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9756, allocations: 0 / 1.073 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.976, allocations: 499 kB / 1.074 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.976, allocations: 4 kB / 1.074 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.9761, allocations: 11.92 kB / 1.074 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9761, allocations: 0 / 1.074 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.9761, allocations: 7.5 kB / 1.074 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9761, allocations: 4.031 kB / 1.074 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.9761, allocations: 0 / 1.074 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.977, allocations: 0.9977 MB / 1.075 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.9771, allocations: 147.9 kB / 1.075 GB, free: 452 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.9772, allocations: 11.42 kB / 1.075 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.9773, allocations: 8 kB / 1.075 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.9774, allocations: 3.984 kB / 1.075 GB, free: 432 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.9774, allocations: 19.86 kB / 1.075 GB, free: 412 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006496/0.9781, allocations: 0.6461 MB / 1.076 GB, free: 15.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9781, allocations: 0 / 1.076 GB, free: 15.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001464/0.9796, allocations: 0.491 MB / 1.076 GB, free: 15.4 MB / 0.698 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.001388/0.981, allocations: 0.563 MB / 1.077 GB, free: 14.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.9829, allocations: 2.339 MB / 1.079 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9829, allocations: 0 / 1.079 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.9832, allocations: 346.6 kB / 1.079 GB, free: 12.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.9834, allocations: 27.5 kB / 1.079 GB, free: 12.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.9851, allocations: 1.429 MB / 1.081 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.9856, allocations: 0.9852 MB / 1.082 GB, free: 10.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.9858, allocations: 51.38 kB / 1.082 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/0.9859, allocations: 37.86 kB / 1.082 GB, free: 10.4 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.9859, allocations: 4 kB / 1.082 GB, free: 10.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01634/1.002, allocations: 9.295 MB / 1.091 GB, free: 1.168 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