Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9102/0.9102, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_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=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.497e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001597/0.001612, allocations: 1.475 MB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004232/0.005844, allocations: 3.976 MB / 0.793 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.005886, allocations: 0 / 0.793 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.815e-05/0.005985, allocations: 16.45 kB / 0.793 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.006169, allocations: 35.22 kB / 0.793 GB, free: 6.59 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.008379, allocations: 1.605 MB / 0.7946 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.008476, allocations: 91.67 kB / 0.7947 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.168e-05/0.008508, allocations: 8.719 kB / 0.7947 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.008578, allocations: 59.81 kB / 0.7947 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.008672, allocations: 54.52 kB / 0.7948 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.008686, allocations: 4 kB / 0.7948 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.01089, allocations: 2.398 MB / 0.7971 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.01103, allocations: 247.8 kB / 0.7974 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.01111, allocations: 123.4 kB / 0.7975 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.01298, allocations: 2.342 MB / 0.7998 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.01298, allocations: 0.9375 kB / 0.7998 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.41e-07/0.01298, allocations: 0 / 0.7998 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.01298, allocations: 0 / 0.7998 GB, free: 15.68 MB / 0.7605 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.001127/0.01411, allocations: 1.378 MB / 0.8011 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.01414, allocations: 8.031 kB / 0.8011 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.01436, allocations: 97.2 kB / 0.8012 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.01458, allocations: 299.5 kB / 0.8015 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.01459, allocations: 4.375 kB / 0.8015 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.01461, allocations: 4.375 kB / 0.8015 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.01481, allocations: 234.2 kB / 0.8017 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.01482, allocations: 192 / 0.8017 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.01482, allocations: 3.656 kB / 0.8017 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.01483, allocations: 7.938 kB / 0.8018 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.01496, allocations: 211.7 kB / 0.802 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.01527, allocations: 485.2 kB / 0.8024 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.01546, allocations: 309.9 kB / 0.8027 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.392e-05/0.01556, allocations: 159.3 kB / 0.8029 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.01584, allocations: 141.5 kB / 0.803 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.01601, allocations: 237.5 kB / 0.8032 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.01601, allocations: 0 / 0.8032 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0005544/0.01657, allocations: 0.7557 MB / 0.804 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.0166, allocations: 93.03 kB / 0.8041 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.01724, allocations: 1.194 MB / 0.8052 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.01726, allocations: 30.8 kB / 0.8052 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.01741, allocations: 352.5 kB / 0.8056 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.01744, allocations: 28.42 kB / 0.8056 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.01769, allocations: 422.2 kB / 0.806 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.01779, allocations: 490.2 kB / 0.8065 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.01809, allocations: 494.4 kB / 0.807 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.01848, allocations: 0.66 MB / 0.8076 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.01997, allocations: 2.254 MB / 0.8098 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01997, allocations: 0 / 0.8098 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00247/0.02244, allocations: 3.844 MB / 0.8136 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.02245, allocations: 8 kB / 0.8136 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.02246, allocations: 0 / 0.8136 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.02248, allocations: 4 kB / 0.8136 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.02257, allocations: 27.92 kB / 0.8136 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.02257, allocations: 8.875 kB / 0.8136 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.02281, allocations: 245.2 kB / 0.8138 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.02284, allocations: 25.08 kB / 0.8139 GB, free: 0.8984 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.02295, allocations: 160.6 kB / 0.814 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.02299, allocations: 75.5 kB / 0.8141 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.0234, allocations: 0.573 MB / 0.8146 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.0234, allocations: 0 / 0.8146 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.02341, allocations: 0 / 0.8146 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02341, allocations: 7.938 kB / 0.8146 GB, free: 64 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.02365, allocations: 362.7 kB / 0.815 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.02365, allocations: 0 / 0.815 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.02368, allocations: 4 kB / 0.815 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.02368, allocations: 4 kB / 0.815 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.02369, allocations: 4 kB / 0.815 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.02369, allocations: 12.02 kB / 0.815 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.0237, allocations: 7.938 kB / 0.815 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.02406, allocations: 0.6493 MB / 0.8157 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.02411, allocations: 79.28 kB / 0.8157 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.02414, allocations: 4 kB / 0.8157 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.0242, allocations: 7.984 kB / 0.8157 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.02423, allocations: 7.984 kB / 0.8158 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.02425, allocations: 11.98 kB / 0.8158 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002728/0.02452, allocations: 0.5281 MB / 0.8163 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02452, allocations: 4 kB / 0.8163 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000816/0.02534, allocations: 0.5884 MB / 0.8169 GB, free: 13.74 MB / 0.7761 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.02653, allocations: 0.7921 MB / 0.8176 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007627/0.02729, allocations: 1.09 MB / 0.8187 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.0273, allocations: 0 / 0.8187 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.02742, allocations: 175.6 kB / 0.8189 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.02762, allocations: 36.59 kB / 0.8189 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.02865, allocations: 1.455 MB / 0.8203 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.02876, allocations: 183.1 kB / 0.8205 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.885e-05/0.02882, allocations: 28.47 kB / 0.8205 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.02894, allocations: 102.2 kB / 0.8206 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.02894, allocations: 0 / 0.8206 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of Templates: time 0.01662/0.04555, allocations: 15.68 MB / 0.8359 GB, free: 10.27 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.275897364132106]