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.494/1.494, allocations: 249.5 MB / 257 MB, free: 6.992 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.001187/0.001187, allocations: 180.8 kB / 316.3 MB, free: 3.285 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.658/1.658, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008098/0.0008098, allocations: 102.1 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.557e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2037, allocations: 106.3 MB / 0.8853 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7845/0.9882, allocations: 146.8 MB / 1.029 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.9886, allocations: 109.9 kB / 1.029 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1027/1.091, allocations: 24.87 MB / 1.053 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.604e-06/1.091, allocations: 0 / 1.053 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.632e-05/1.091, allocations: 20 kB / 1.053 GB, free: 1.633 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.002688/1.094, allocations: 1.341 MB / 1.054 GB, free: 324 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.094, allocations: 8.031 kB / 1.054 GB, free: 316 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004581/1.095, allocations: 157.9 kB / 1.054 GB, free: 156 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/1.096, allocations: 0.6492 MB / 1.055 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.096, allocations: 0 / 1.055 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/1.096, allocations: 24 kB / 1.055 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004265/1.096, allocations: 427.6 kB / 1.056 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/1.097, allocations: 374.5 kB / 1.056 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/1.097, allocations: 3.938 kB / 1.056 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.097, allocations: 0.8438 kB / 1.056 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/1.097, allocations: 3.953 kB / 1.056 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.098, allocations: 0.9437 MB / 1.057 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/1.098, allocations: 0.5587 MB / 1.057 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/1.099, allocations: 332.5 kB / 1.058 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/1.1, allocations: 1.036 MB / 1.059 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/1.1, allocations: 399.2 kB / 1.059 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.983e-06/1.1, allocations: 0 / 1.059 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001214/1.101, allocations: 1.014 MB / 1.06 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/1.102, allocations: 83.67 kB / 1.06 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/1.103, allocations: 1.526 MB / 1.062 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.678e-05/1.103, allocations: 33.02 kB / 1.062 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/1.104, allocations: 476.7 kB / 1.062 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/1.104, allocations: 29.52 kB / 1.062 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/1.104, allocations: 4 kB / 1.062 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002183/1.104, allocations: 405.2 kB / 1.063 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/1.106, allocations: 1.453 MB / 1.064 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/1.107, allocations: 1.579 MB / 1.066 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/1.109, allocations: 1.842 MB / 1.067 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.109, allocations: 3.984 kB / 1.067 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004364/1.114, allocations: 3.963 MB / 1.071 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.114, allocations: 8 kB / 1.071 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.874e-05/1.114, allocations: 20 kB / 1.071 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.114, allocations: 4 kB / 1.071 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/1.114, allocations: 142.4 kB / 1.071 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.114, allocations: 7.984 kB / 1.071 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/1.115, allocations: 232.3 kB / 1.072 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.115, allocations: 98.92 kB / 1.072 GB, free: 0.957 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.0001417/1.116, allocations: 116.8 kB / 1.072 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/1.116, allocations: 114.1 kB / 1.072 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/1.117, allocations: 1.004 MB / 1.073 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.117, allocations: 0 / 1.073 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.117, allocations: 4 kB / 1.073 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.117, allocations: 4.031 kB / 1.073 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000638/1.117, allocations: 0.6472 MB / 1.074 GB, free: 15.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.117, allocations: 4 kB / 1.074 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/1.118, allocations: 7.984 kB / 1.074 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.118, allocations: 0 / 1.074 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/1.118, allocations: 4 kB / 1.074 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.118, allocations: 0 / 1.074 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.118, allocations: 0 / 1.074 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/1.118, allocations: 1.069 MB / 1.075 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/1.119, allocations: 211 kB / 1.075 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.119, allocations: 3.984 kB / 1.075 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/1.119, allocations: 8 kB / 1.075 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/1.119, allocations: 7.984 kB / 1.075 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/1.119, allocations: 19.3 kB / 1.075 GB, free: 13.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001098/1.12, allocations: 1.011 MB / 1.076 GB, free: 12.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.12, allocations: 0 / 1.076 GB, free: 12.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001787/1.122, allocations: 0.5031 MB / 1.076 GB, free: 12.47 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.001481/1.124, allocations: 0.5623 MB / 1.077 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002091/1.126, allocations: 2.47 MB / 1.079 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.126, allocations: 4 kB / 1.079 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/1.126, allocations: 336.4 kB / 1.08 GB, free: 9.883 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/1.126, allocations: 64.41 kB / 1.08 GB, free: 9.855 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/1.129, allocations: 2.094 MB / 1.082 GB, free: 7.762 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/1.13, allocations: 1.179 MB / 1.083 GB, free: 6.555 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004039/1.13, allocations: 126.4 kB / 1.083 GB, free: 6.426 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/1.13, allocations: 73.69 kB / 1.083 GB, free: 6.367 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/1.13, allocations: 0 / 1.083 GB, free: 6.367 MB / 0.698 GB Notification: Performance of Templates: time 0.02071/1.151, allocations: 10.96 MB / 1.094 GB, free: 11.46 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