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.0008425/0.0008425, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.0009153/0.0009153, allocations: 165 kB / 24.28 MB, free: 272 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.9308/0.9308, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.788/1.788, allocations: 359 MB / 0.6055 GB, free: 11 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.493e-06/1.493e-06, allocations: 0.7656 kB / 0.7872 GB, free: 11.59 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.535e-05, allocations: 2.312 kB / 0.7872 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.005254/0.005279, allocations: 1.482 MB / 0.7886 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.01678, allocations: 4.029 MB / 0.7926 GB, free: 6.078 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.01687, allocations: 3.938 kB / 0.7926 GB, free: 6.074 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.017, allocations: 7.922 kB / 0.7926 GB, free: 6.066 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.01725, allocations: 36.41 kB / 0.7926 GB, free: 6.031 MB / 0.698 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.00658/0.02383, allocations: 1.605 MB / 0.7942 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.02398, allocations: 95.66 kB / 0.7943 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.02411, allocations: 7.984 kB / 0.7943 GB, free: 4.328 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.368e-05/0.0242, allocations: 59.88 kB / 0.7943 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.0244, allocations: 139.7 kB / 0.7945 GB, free: 4.133 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.02444, allocations: 12 kB / 0.7945 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006095/0.03053, allocations: 2.391 MB / 0.7968 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.0307, allocations: 279.9 kB / 0.7971 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.03082, allocations: 144.5 kB / 0.7972 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.03463, allocations: 2.469 MB / 0.7996 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.03464, allocations: 0 / 0.7996 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.03464, allocations: 0 / 0.7996 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.03465, allocations: 0.625 kB / 0.7996 GB, free: 14.84 MB / 0.7136 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.004553/0.0392, allocations: 1.398 MB / 0.801 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.03924, allocations: 12.03 kB / 0.801 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.03952, allocations: 88.25 kB / 0.8011 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.03983, allocations: 309.7 kB / 0.8014 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.03984, allocations: 4.375 kB / 0.8014 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.03987, allocations: 13.03 kB / 0.8014 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.04018, allocations: 378.6 kB / 0.8018 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.04019, allocations: 1.312 kB / 0.8018 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.0402, allocations: 384 / 0.8018 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.04021, allocations: 3.938 kB / 0.8018 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.04045, allocations: 388.6 kB / 0.8021 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.04089, allocations: 0.6361 MB / 0.8028 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.04122, allocations: 0.5213 MB / 0.8033 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.04141, allocations: 305.5 kB / 0.8036 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004033/0.04181, allocations: 143.6 kB / 0.8037 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.04211, allocations: 377.8 kB / 0.8041 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.04211, allocations: 0 / 0.8041 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0008656/0.04298, allocations: 1.165 MB / 0.8052 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.04304, allocations: 89.03 kB / 0.8053 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.04382, allocations: 1.192 MB / 0.8064 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.04385, allocations: 29.7 kB / 0.8065 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.04402, allocations: 345.8 kB / 0.8068 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.04406, allocations: 27.78 kB / 0.8068 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.04432, allocations: 398.5 kB / 0.8072 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.04444, allocations: 0.4893 MB / 0.8077 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.04488, allocations: 0.6712 MB / 0.8083 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.0454, allocations: 0.8488 MB / 0.8092 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.04714, allocations: 2.618 MB / 0.8117 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.04714, allocations: 1.031 kB / 0.8117 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002907/0.05005, allocations: 4.23 MB / 0.8159 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.05006, allocations: 8.156 kB / 0.8159 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.05008, allocations: 8 kB / 0.8159 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.0501, allocations: 0 / 0.8159 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.05021, allocations: 31.86 kB / 0.8159 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.05022, allocations: 3.938 kB / 0.8159 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.0505, allocations: 237.4 kB / 0.8161 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.05053, allocations: 23.98 kB / 0.8162 GB, free: 13.53 MB / 0.7292 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 (cluSiz[1],labels[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.0001403/0.05067, allocations: 168.6 kB / 0.8163 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.05072, allocations: 75.3 kB / 0.8164 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.05137, allocations: 0.8541 MB / 0.8172 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.05137, allocations: 0 / 0.8172 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.05138, allocations: 7.938 kB / 0.8172 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.05138, allocations: 0 / 0.8172 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.05171, allocations: 492.1 kB / 0.8177 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.05171, allocations: 0 / 0.8177 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.05176, allocations: 4 kB / 0.8177 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.05176, allocations: 7.984 kB / 0.8177 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.05177, allocations: 0 / 0.8177 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.05177, allocations: 4.031 kB / 0.8177 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.05178, allocations: 4 kB / 0.8177 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.05234, allocations: 0.9343 MB / 0.8186 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.0524, allocations: 87.23 kB / 0.8187 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.05243, allocations: 0 / 0.8187 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.05251, allocations: 11.98 kB / 0.8187 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.05254, allocations: 7.938 kB / 0.8187 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.05257, allocations: 11.97 kB / 0.8187 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003996/0.05297, allocations: 0.5557 MB / 0.8193 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.05297, allocations: 4 kB / 0.8193 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001244/0.05421, allocations: 0.5884 MB / 0.8199 GB, free: 9.641 MB / 0.7292 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.001436/0.05565, allocations: 0.8041 MB / 0.8206 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009904/0.05664, allocations: 1.407 MB / 0.822 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.05664, allocations: 0 / 0.822 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.05683, allocations: 315.4 kB / 0.8223 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.05708, allocations: 37.44 kB / 0.8224 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.05832, allocations: 1.58 MB / 0.8239 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.05843, allocations: 191.1 kB / 0.8241 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.231e-05/0.05851, allocations: 40.25 kB / 0.8241 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.05858, allocations: 24.48 kB / 0.8241 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of SimCode: time 1.232e-06/0.05858, allocations: 4 kB / 0.8241 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of Templates: time 0.01724/0.07582, allocations: 14.28 MB / 0.8381 GB, free: 7.023 MB / 0.7448 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.39674339001067]