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.001364/0.001364, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001564/0.001564, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 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.9456/0.9456, allocations: 177.2 MB / 204.2 MB, free: 5.629 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.82/1.82, allocations: 359 MB / 0.6052 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.433e-06/1.433e-06, allocations: 0 / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.617e-05, allocations: 3.312 kB / 0.7872 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001635/0.001651, allocations: 1.473 MB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004337/0.005987, allocations: 4.052 MB / 0.7926 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.006036, allocations: 3.938 kB / 0.7926 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.006139, allocations: 13.33 kB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.006348, allocations: 31.78 kB / 0.7926 GB, free: 6.793 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.00271/0.009058, allocations: 1.603 MB / 0.7942 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.009169, allocations: 91.67 kB / 0.7943 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.009205, allocations: 9.109 kB / 0.7943 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.205e-05/0.009277, allocations: 55.88 kB / 0.7944 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.009445, allocations: 144.4 kB / 0.7945 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.009474, allocations: 12 kB / 0.7945 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.01188, allocations: 2.387 MB / 0.7968 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.01204, allocations: 283.9 kB / 0.7971 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.01216, allocations: 146 kB / 0.7972 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.01444, allocations: 2.467 MB / 0.7997 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.01444, allocations: 0.6562 kB / 0.7997 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.01444, allocations: 0 / 0.7997 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.01445, allocations: 2.438 kB / 0.7997 GB, free: 15.61 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.004399/0.01884, allocations: 1.4 MB / 0.801 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.01888, allocations: 8.031 kB / 0.801 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.01912, allocations: 88.25 kB / 0.8011 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.0194, allocations: 315 kB / 0.8014 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.01941, allocations: 384 / 0.8014 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.01944, allocations: 12.38 kB / 0.8014 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.01973, allocations: 366.6 kB / 0.8018 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.01974, allocations: 192 / 0.8018 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.01976, allocations: 0.9375 kB / 0.8018 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.01976, allocations: 9.625 kB / 0.8018 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.02, allocations: 387.7 kB / 0.8022 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.02041, allocations: 0.6391 MB / 0.8028 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.02072, allocations: 0.5213 MB / 0.8033 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.0209, allocations: 304.3 kB / 0.8036 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.02125, allocations: 141.2 kB / 0.8037 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.02149, allocations: 377.5 kB / 0.8041 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.02149, allocations: 4 kB / 0.8041 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0007915/0.02228, allocations: 1.169 MB / 0.8052 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.02232, allocations: 88.98 kB / 0.8053 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000718/0.02303, allocations: 1.193 MB / 0.8065 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.02306, allocations: 33.7 kB / 0.8065 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.02321, allocations: 336.7 kB / 0.8068 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.02324, allocations: 32.8 kB / 0.8069 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.02349, allocations: 402.5 kB / 0.8072 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.02359, allocations: 488.4 kB / 0.8077 GB, free: 7.121 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.02402, allocations: 0.6793 MB / 0.8084 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.02452, allocations: 0.8438 MB / 0.8092 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.02623, allocations: 2.619 MB / 0.8118 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02623, allocations: 4 kB / 0.8118 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002901/0.02913, allocations: 4.227 MB / 0.8159 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.02915, allocations: 6.344 kB / 0.8159 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.02916, allocations: 4.656 kB / 0.8159 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.02918, allocations: 4 kB / 0.8159 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.02929, allocations: 36.02 kB / 0.8159 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.02929, allocations: 4 kB / 0.8159 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.02955, allocations: 237.3 kB / 0.8162 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.02958, allocations: 23.98 kB / 0.8162 GB, free: 14.3 MB / 0.7761 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.0001251/0.02971, allocations: 160.6 kB / 0.8163 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.02975, allocations: 83.27 kB / 0.8164 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.03032, allocations: 0.8463 MB / 0.8172 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.03032, allocations: 4 kB / 0.8172 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.03032, allocations: 7.969 kB / 0.8173 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.03033, allocations: 0 / 0.8173 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.03062, allocations: 0.4883 MB / 0.8177 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.03062, allocations: 3.984 kB / 0.8177 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.03067, allocations: 4 kB / 0.8177 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.03067, allocations: 0 / 0.8177 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.03068, allocations: 7.984 kB / 0.8177 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.03068, allocations: 0 / 0.8177 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03068, allocations: 3.938 kB / 0.8178 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.0312, allocations: 0.9421 MB / 0.8187 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.03125, allocations: 75.34 kB / 0.8187 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.03128, allocations: 0 / 0.8187 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.03134, allocations: 8 kB / 0.8188 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.03137, allocations: 11.92 kB / 0.8188 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.0314, allocations: 19.97 kB / 0.8188 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003684/0.03177, allocations: 0.5518 MB / 0.8193 GB, free: 11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.03177, allocations: 4 kB / 0.8193 GB, free: 11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009422/0.03271, allocations: 0.5884 MB / 0.8199 GB, free: 10.41 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.001335/0.03405, allocations: 0.7924 MB / 0.8207 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009266/0.03497, allocations: 1.418 MB / 0.8221 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.03497, allocations: 0 / 0.8221 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.03516, allocations: 307.5 kB / 0.8224 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.03538, allocations: 37.3 kB / 0.8224 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.03654, allocations: 1.595 MB / 0.8239 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.03664, allocations: 183.1 kB / 0.8241 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.327e-05/0.03672, allocations: 36.39 kB / 0.8242 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.03679, allocations: 32.42 kB / 0.8242 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.03679, allocations: 0 / 0.8242 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of Templates: time 0.01555/0.05234, allocations: 14.28 MB / 0.8381 GB, free: 7.797 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.638983289245516]