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_SmallScaleValidation.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.001284/0.001284, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009477/0.0009477, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9476/0.9476, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.694/1.694, allocations: 359 MB / 0.6052 GB, free: 11.02 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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.44e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002064/0.002078, allocations: 1.834 MB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005876/0.007954, allocations: 5.214 MB / 0.7941 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.008035, allocations: 4.531 kB / 0.7941 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009191/0.008954, allocations: 344.8 kB / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.00904, allocations: 68.97 kB / 0.7945 GB, free: 4.918 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.002663/0.0117, allocations: 1.596 MB / 0.796 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.01191, allocations: 159.3 kB / 0.7962 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.01194, allocations: 9.797 kB / 0.7962 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.01202, allocations: 86.02 kB / 0.7963 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.01218, allocations: 147.7 kB / 0.7964 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.01221, allocations: 16 kB / 0.7964 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.0149, allocations: 2.453 MB / 0.7988 GB, free: 492 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.01506, allocations: 283.9 kB / 0.7991 GB, free: 208 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.01519, allocations: 167.9 kB / 0.7993 GB, free: 36 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.0177, allocations: 2.5 MB / 0.8017 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.0177, allocations: 0 / 0.8017 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.91e-07/0.0177, allocations: 4 kB / 0.8017 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.01771, allocations: 0 / 0.8017 GB, free: 13.53 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.004476/0.02218, allocations: 1.468 MB / 0.8031 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.02222, allocations: 12.03 kB / 0.8032 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.02247, allocations: 105.3 kB / 0.8033 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.02279, allocations: 347.7 kB / 0.8036 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.0228, allocations: 4.375 kB / 0.8036 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.02282, allocations: 4.375 kB / 0.8036 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.02311, allocations: 379.1 kB / 0.804 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.02312, allocations: 0.7188 kB / 0.804 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.02313, allocations: 4.359 kB / 0.804 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.02314, allocations: 4.438 kB / 0.804 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.02349, allocations: 377.3 kB / 0.8043 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.02394, allocations: 0.6797 MB / 0.805 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.02425, allocations: 0.5219 MB / 0.8055 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.02442, allocations: 303.2 kB / 0.8058 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003514/0.02477, allocations: 146.7 kB / 0.8059 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.025, allocations: 376.2 kB / 0.8063 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.025, allocations: 0 / 0.8063 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0008037/0.02581, allocations: 1.18 MB / 0.8074 GB, free: 7.477 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.02584, allocations: 85.05 kB / 0.8075 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/0.0266, allocations: 1.272 MB / 0.8088 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.02663, allocations: 37.69 kB / 0.8088 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.02681, allocations: 368.7 kB / 0.8091 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.02683, allocations: 23.83 kB / 0.8092 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.02709, allocations: 402.5 kB / 0.8096 GB, free: 5.262 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.0272, allocations: 0.4926 MB / 0.81 GB, free: 4.762 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.02762, allocations: 0.682 MB / 0.8107 GB, free: 4.078 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.02824, allocations: 0.8517 MB / 0.8115 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.02991, allocations: 2.617 MB / 0.8141 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.02991, allocations: 0 / 0.8141 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002911/0.03282, allocations: 4.242 MB / 0.8182 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.03284, allocations: 10.5 kB / 0.8182 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.03285, allocations: 0 / 0.8182 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.03287, allocations: 4 kB / 0.8182 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.03296, allocations: 27.92 kB / 0.8183 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.03297, allocations: 4.031 kB / 0.8183 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.03321, allocations: 237.4 kB / 0.8185 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.03325, allocations: 27.98 kB / 0.8185 GB, free: 11.93 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.0001246/0.03337, allocations: 171.7 kB / 0.8187 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.03342, allocations: 91.22 kB / 0.8188 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.034, allocations: 0.8509 MB / 0.8196 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.034, allocations: 0 / 0.8196 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.034, allocations: 3.938 kB / 0.8196 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.03401, allocations: 11.97 kB / 0.8196 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.03433, allocations: 0.5212 MB / 0.8201 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.03433, allocations: 0 / 0.8201 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.03436, allocations: 4 kB / 0.8201 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.03436, allocations: 4 kB / 0.8201 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.03438, allocations: 7.984 kB / 0.8202 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.03438, allocations: 0 / 0.8202 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.03438, allocations: 4 kB / 0.8202 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.03491, allocations: 0.9428 MB / 0.8211 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.03497, allocations: 91.3 kB / 0.8212 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.035, allocations: 0 / 0.8212 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.03507, allocations: 4 kB / 0.8212 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.0351, allocations: 11.92 kB / 0.8212 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.03512, allocations: 15.97 kB / 0.8212 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000396/0.03552, allocations: 0.5973 MB / 0.8218 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.03552, allocations: 0 / 0.8218 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001008/0.03653, allocations: 0.5962 MB / 0.8224 GB, free: 7.922 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.001293/0.03782, allocations: 0.7915 MB / 0.8231 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009274/0.03875, allocations: 1.41 MB / 0.8245 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.03875, allocations: 0 / 0.8245 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.03893, allocations: 315.4 kB / 0.8248 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.03919, allocations: 61.28 kB / 0.8249 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.04056, allocations: 1.685 MB / 0.8265 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.04066, allocations: 195.6 kB / 0.8267 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.314e-05/0.04074, allocations: 41.45 kB / 0.8267 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.04081, allocations: 28.47 kB / 0.8268 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of SimCode: time 1.011e-06/0.04082, allocations: 0 / 0.8268 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of Templates: time 0.01864/0.05946, allocations: 16.85 MB / 0.8432 GB, free: 2.629 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.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.3528430219739676]