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.0009939/0.0009939, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000978/0.000978, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.01/1.01, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.743/1.743, allocations: 359 MB / 0.6052 GB, free: 11.03 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.943e-06/1.943e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.92e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003486/0.003515, allocations: 1.818 MB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006751/0.01027, allocations: 5.224 MB / 0.7941 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.01037, allocations: 0 / 0.7941 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.0114, allocations: 345 kB / 0.7944 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.58e-05/0.0115, allocations: 63.66 kB / 0.7945 GB, free: 4.945 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.002938/0.01444, allocations: 1.599 MB / 0.796 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.01466, allocations: 160.1 kB / 0.7962 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.01471, allocations: 14.73 kB / 0.7962 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.757e-05/0.01481, allocations: 83.73 kB / 0.7963 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.01499, allocations: 149 kB / 0.7964 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.01502, allocations: 12 kB / 0.7964 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.01793, allocations: 2.398 MB / 0.7988 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.01811, allocations: 287.8 kB / 0.799 GB, free: 268 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.01825, allocations: 170.1 kB / 0.7992 GB, free: 96 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002988/0.02124, allocations: 2.502 MB / 0.8016 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.02124, allocations: 0 / 0.8016 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.112e-06/0.02124, allocations: 0.5938 kB / 0.8016 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.02125, allocations: 3.438 kB / 0.8016 GB, free: 13.59 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.004806/0.02606, allocations: 1.474 MB / 0.8031 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.0261, allocations: 8.031 kB / 0.8031 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.02638, allocations: 100.2 kB / 0.8032 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.02676, allocations: 346.6 kB / 0.8035 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.02677, allocations: 8.359 kB / 0.8035 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.0268, allocations: 8.875 kB / 0.8035 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.02712, allocations: 376 kB / 0.8039 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.02713, allocations: 4.125 kB / 0.8039 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.02715, allocations: 384 / 0.8039 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.02716, allocations: 3.938 kB / 0.8039 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.02738, allocations: 384.5 kB / 0.8043 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.02786, allocations: 0.6726 MB / 0.8049 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.02833, allocations: 0.5219 MB / 0.8054 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.0285, allocations: 301.6 kB / 0.8057 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003944/0.0289, allocations: 143.8 kB / 0.8059 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.02915, allocations: 376.2 kB / 0.8062 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.02915, allocations: 1.062 kB / 0.8062 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0008537/0.03001, allocations: 1.177 MB / 0.8074 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.03005, allocations: 92.97 kB / 0.8075 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.03086, allocations: 1.275 MB / 0.8087 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.03089, allocations: 30.83 kB / 0.8087 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.03108, allocations: 368.7 kB / 0.8091 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.03111, allocations: 23.83 kB / 0.8091 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.03137, allocations: 411.2 kB / 0.8095 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.03148, allocations: 0.4926 MB / 0.81 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/0.03193, allocations: 0.6747 MB / 0.8106 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.03244, allocations: 0.8488 MB / 0.8115 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.03432, allocations: 2.622 MB / 0.814 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.03432, allocations: 0 / 0.814 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002905/0.03722, allocations: 4.242 MB / 0.8182 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.03724, allocations: 4 kB / 0.8182 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.03726, allocations: 4 kB / 0.8182 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.03728, allocations: 3.984 kB / 0.8182 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.0374, allocations: 27.88 kB / 0.8182 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.0374, allocations: 0 / 0.8182 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.03767, allocations: 237.3 kB / 0.8184 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.03771, allocations: 23.98 kB / 0.8185 GB, free: 12 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.0001373/0.03785, allocations: 168.6 kB / 0.8186 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.0379, allocations: 87.19 kB / 0.8187 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007807/0.03868, allocations: 0.847 MB / 0.8195 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.03868, allocations: 4 kB / 0.8195 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.03869, allocations: 3.938 kB / 0.8195 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.03869, allocations: 0 / 0.8195 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.03904, allocations: 0.5289 MB / 0.8201 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.03904, allocations: 4 kB / 0.8201 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.0391, allocations: 11.92 kB / 0.8201 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.0391, allocations: 0 / 0.8201 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.03911, allocations: 12.03 kB / 0.8201 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.03911, allocations: 0 / 0.8201 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.03911, allocations: 4 kB / 0.8201 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.03966, allocations: 0.9312 MB / 0.821 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.03973, allocations: 99.22 kB / 0.8211 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.03977, allocations: 4 kB / 0.8211 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.03984, allocations: 0 / 0.8211 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.03988, allocations: 11.92 kB / 0.8211 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.03991, allocations: 15.92 kB / 0.8211 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004149/0.04032, allocations: 0.609 MB / 0.8217 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.04032, allocations: 0 / 0.8217 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00121/0.04153, allocations: 0.5884 MB / 0.8223 GB, free: 7.988 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.00154/0.04307, allocations: 0.7889 MB / 0.8231 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009963/0.04407, allocations: 1.426 MB / 0.8244 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.04407, allocations: 0 / 0.8244 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.04426, allocations: 311.5 kB / 0.8247 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.04457, allocations: 61.34 kB / 0.8248 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.04611, allocations: 1.681 MB / 0.8264 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.04622, allocations: 195.6 kB / 0.8266 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.794e-05/0.04631, allocations: 41.39 kB / 0.8267 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.0464, allocations: 28.48 kB / 0.8267 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.0464, allocations: 0 / 0.8267 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of Templates: time 0.01906/0.06546, allocations: 14.99 MB / 0.8413 GB, free: 4.562 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.645408975891769]