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_100boreholes.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_100boreholes,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_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,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_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 249.3 MB / 261.8 MB, free: 5.914 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.0009725/0.0009726, allocations: 170 kB / 321.3 MB, free: 14.66 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.546/1.546, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009567/0.0009567, allocations: 90.48 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.565e-05, allocations: 4 kB / 0.788 GB, free: 97.06 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2493, allocations: 106.3 MB / 0.8918 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8658/1.115, allocations: 146.5 MB / 1.035 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003816/1.116, allocations: 112.6 kB / 1.035 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1054/1.221, allocations: 25.03 MB / 1.059 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/1.221, allocations: 0 / 1.059 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.205e-05/1.221, allocations: 23.19 kB / 1.059 GB, free: 14.38 MB / 0.6823 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.002541/1.224, allocations: 1.349 MB / 1.061 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.224, allocations: 8.031 kB / 1.061 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/1.224, allocations: 162 kB / 1.061 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/1.225, allocations: 0.6453 MB / 1.062 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/1.226, allocations: 22.75 kB / 1.062 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/1.226, allocations: 42.69 kB / 1.062 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/1.226, allocations: 377.2 kB / 1.062 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.226, allocations: 0 / 1.062 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.226, allocations: 7.938 kB / 1.062 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.226, allocations: 4 kB / 1.062 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/1.227, allocations: 434.6 kB / 1.062 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/1.228, allocations: 0.9875 MB / 1.063 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/1.228, allocations: 0.5508 MB / 1.064 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/1.229, allocations: 329.1 kB / 1.064 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/1.23, allocations: 1.04 MB / 1.065 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/1.23, allocations: 401.8 kB / 1.066 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/1.23, allocations: 0 / 1.066 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.00115/1.231, allocations: 1.029 MB / 1.067 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/1.232, allocations: 77.11 kB / 1.067 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/1.233, allocations: 1.611 MB / 1.068 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/1.233, allocations: 46.95 kB / 1.068 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/1.234, allocations: 493.6 kB / 1.069 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/1.234, allocations: 27.58 kB / 1.069 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/1.234, allocations: 15.06 kB / 1.069 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002579/1.234, allocations: 413.9 kB / 1.069 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/1.236, allocations: 1.467 MB / 1.071 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/1.238, allocations: 1.597 MB / 1.072 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/1.24, allocations: 1.865 MB / 1.074 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.24, allocations: 0 / 1.074 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00516/1.245, allocations: 4.016 MB / 1.078 GB, free: 13.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.245, allocations: 4 kB / 1.078 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.605e-05/1.245, allocations: 23.98 kB / 1.078 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.245, allocations: 4 kB / 1.078 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/1.246, allocations: 147.6 kB / 1.078 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.246, allocations: 11.92 kB / 1.078 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/1.247, allocations: 241.7 kB / 1.078 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.247, allocations: 95.61 kB / 1.078 GB, free: 13.39 MB / 0.698 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.0001581/1.247, allocations: 132.9 kB / 1.079 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.247, allocations: 114.1 kB / 1.079 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/1.248, allocations: 1.009 MB / 1.08 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/1.248, allocations: 0 / 1.08 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.248, allocations: 4 kB / 1.08 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.248, allocations: 3.938 kB / 1.08 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/1.249, allocations: 0.685 MB / 1.08 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.249, allocations: 0 / 1.08 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-05/1.249, allocations: 7.984 kB / 1.08 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.249, allocations: 0 / 1.08 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/1.249, allocations: 4 kB / 1.08 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.249, allocations: 3.984 kB / 1.08 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.249, allocations: 4.031 kB / 1.08 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/1.25, allocations: 1.06 MB / 1.081 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/1.25, allocations: 211 kB / 1.082 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/1.25, allocations: 7.688 kB / 1.082 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/1.251, allocations: 7.984 kB / 1.082 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/1.251, allocations: 8 kB / 1.082 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/1.251, allocations: 11.97 kB / 1.082 GB, free: 10.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001286/1.252, allocations: 1.093 MB / 1.083 GB, free: 9.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.252, allocations: 0 / 1.083 GB, free: 9.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001949/1.254, allocations: 0.5208 MB / 1.083 GB, free: 8.758 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.001564/1.256, allocations: 0.5582 MB / 1.084 GB, free: 8.195 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002475/1.258, allocations: 2.5 MB / 1.086 GB, free: 6.469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.258, allocations: 0 / 1.086 GB, free: 6.469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/1.259, allocations: 338.2 kB / 1.087 GB, free: 6.145 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/1.259, allocations: 60.69 kB / 1.087 GB, free: 6.121 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/1.262, allocations: 2.1 MB / 1.089 GB, free: 4.023 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/1.263, allocations: 1.183 MB / 1.09 GB, free: 2.812 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004281/1.263, allocations: 126.3 kB / 1.09 GB, free: 2.688 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/1.263, allocations: 63.33 kB / 1.09 GB, free: 2.637 MB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/1.263, allocations: 0 / 1.09 GB, free: 2.637 MB / 0.698 GB Notification: Performance of Templates: time 0.02467/1.288, allocations: 11.58 MB / 1.101 GB, free: 7.117 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches