Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001093/0.001093, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.602/1.602, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.0008672/0.0008673, allocations: 95.89 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003501, allocations: 7.5 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3136, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.4951, allocations: 150.9 MB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.4955, allocations: 111.9 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005311/0.5008, allocations: 2.046 MB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5009, allocations: 0 / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5009, allocations: 0 / 1.372 GB, free: 8.883 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003181/0.5012, allocations: 336.2 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5013, allocations: 8.031 kB / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.5013, allocations: 0 / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.5014, allocations: 163 kB / 1.373 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.5015, allocations: 8 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.5015, allocations: 0 / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.891e-05/0.5016, allocations: 25.7 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5016, allocations: 0 / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.5016, allocations: 0 / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.5016, allocations: 4 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.5016, allocations: 7.984 kB / 1.373 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.5021, allocations: 480.5 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.5022, allocations: 165.1 kB / 1.374 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.5023, allocations: 75.28 kB / 1.374 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.5023, allocations: 105.8 kB / 1.374 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5023, allocations: 3.938 kB / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.927e-05/0.5024, allocations: 33.64 kB / 1.374 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.5025, allocations: 130.7 kB / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.5026, allocations: 101 kB / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.5026, allocations: 25.7 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.5026, allocations: 80.14 kB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.5026, allocations: 0 / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.5026, allocations: 0 / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5028, allocations: 318.8 kB / 1.374 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-06/0.5028, allocations: 11.94 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.5028, allocations: 0 / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.732e-05/0.5028, allocations: 0 / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5028, allocations: 0 / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001056/0.5029, allocations: 41.62 kB / 1.374 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.503, allocations: 4 kB / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.503, allocations: 0 / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.503, allocations: 0 / 1.374 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.675e-05/0.503, allocations: 4 kB / 1.374 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.503, allocations: 96 / 1.374 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.503, allocations: 4 kB / 1.374 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.5031, allocations: 0 / 1.374 GB, free: 6.559 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 0.0001013/0.5032, allocations: 188.9 kB / 1.375 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.5032, allocations: 113 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.5033, allocations: 111.8 kB / 1.375 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.73e-05/0.5034, allocations: 177.3 kB / 1.375 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.619e-05/0.5034, allocations: 180.3 kB / 1.375 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.556e-05/0.5035, allocations: 184.2 kB / 1.375 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.5038, allocations: 405.2 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/0.5038, allocations: 108.9 kB / 1.376 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.5039, allocations: 105 kB / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.817e-05/0.5039, allocations: 188.2 kB / 1.376 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/0.504, allocations: 176.3 kB / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.492e-05/0.5041, allocations: 176.3 kB / 1.376 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.838e-05/0.5041, allocations: 188.2 kB / 1.377 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.5043, allocations: 311.9 kB / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.5044, allocations: 186.1 kB / 1.377 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/0.5045, allocations: 180.2 kB / 1.377 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.5046, allocations: 112.9 kB / 1.377 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.5046, allocations: 176.3 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.5047, allocations: 104.9 kB / 1.378 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.5047, allocations: 87.28 kB / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5047, allocations: 0 / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002796/0.505, allocations: 27.98 kB / 1.378 GB, free: 2.922 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003961/0.5054, allocations: 238.3 kB / 1.378 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.017e-05/0.5055, allocations: 0 / 1.378 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5055, allocations: 4.062 kB / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.5055, allocations: 4 kB / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.5058, allocations: 0.5224 MB / 1.379 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.5091, allocations: 1.086 MB / 1.38 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.5094, allocations: 0.677 MB / 1.38 GB, free: 344 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.5094, allocations: 0 / 1.38 GB, free: 344 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.5094, allocations: 15.44 kB / 1.38 GB, free: 328 kB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/0.5094, allocations: 0 / 1.38 GB, free: 328 kB / 0.8698 GB Notification: Performance of Templates: time 0.002901/0.5124, allocations: 0.6294 MB / 1.381 GB, free: 15.73 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches