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.0009476/0.0009476, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009654/0.0009654, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9669/0.9669, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.762/1.762, allocations: 359 MB / 0.6063 GB, free: 10.88 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 2.345e-06/2.345e-06, allocations: 4 kB / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.072e-05, allocations: 10.17 kB / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00212/0.002141, allocations: 1.797 MB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005558/0.007698, allocations: 5.115 MB / 0.7952 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.00778, allocations: 0.5312 kB / 0.7952 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009003/0.008681, allocations: 341.1 kB / 0.7955 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.321e-05/0.008764, allocations: 76.31 kB / 0.7956 GB, free: 4.797 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.00274/0.0115, allocations: 1.6 MB / 0.7971 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.01171, allocations: 169.8 kB / 0.7973 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.01174, allocations: 5.812 kB / 0.7973 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.01182, allocations: 79.8 kB / 0.7974 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.01192, allocations: 69.09 kB / 0.7974 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.01194, allocations: 4 kB / 0.7974 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.01439, allocations: 2.396 MB / 0.7998 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.01455, allocations: 271.2 kB / 0.8 GB, free: 244 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.01465, allocations: 135.4 kB / 0.8002 GB, free: 108 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.0166, allocations: 2.381 MB / 0.8025 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01661, allocations: 3.938 kB / 0.8025 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.71e-07/0.01661, allocations: 0 / 0.8025 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.01661, allocations: 0 / 0.8025 GB, free: 13.71 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.001289/0.0179, allocations: 1.44 MB / 0.8039 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.01793, allocations: 8.031 kB / 0.8039 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.01817, allocations: 109.3 kB / 0.804 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.01845, allocations: 339.6 kB / 0.8043 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.01846, allocations: 8.375 kB / 0.8043 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.01849, allocations: 5.812 kB / 0.8044 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.01869, allocations: 234.2 kB / 0.8046 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.0187, allocations: 4.188 kB / 0.8046 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.01871, allocations: 6.234 kB / 0.8046 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.01871, allocations: 3.938 kB / 0.8046 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.01884, allocations: 199.8 kB / 0.8048 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.01918, allocations: 0.498 MB / 0.8053 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.01937, allocations: 311.2 kB / 0.8056 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.01946, allocations: 159.3 kB / 0.8057 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.01975, allocations: 132.8 kB / 0.8058 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.01992, allocations: 240.3 kB / 0.8061 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.01993, allocations: 0 / 0.8061 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0006984/0.02062, allocations: 0.7583 MB / 0.8068 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.02066, allocations: 85.03 kB / 0.8069 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/0.02135, allocations: 1.286 MB / 0.8081 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.02137, allocations: 29.7 kB / 0.8082 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.02154, allocations: 380.4 kB / 0.8085 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.02156, allocations: 23.83 kB / 0.8086 GB, free: 7.281 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.02181, allocations: 434.2 kB / 0.809 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.02192, allocations: 0.4965 MB / 0.8095 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.02222, allocations: 494.4 kB / 0.8099 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.02261, allocations: 0.6547 MB / 0.8106 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.02408, allocations: 2.258 MB / 0.8128 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02408, allocations: 0 / 0.8128 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002655/0.02674, allocations: 3.852 MB / 0.8165 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.02675, allocations: 12.03 kB / 0.8165 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.02676, allocations: 0 / 0.8165 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.02677, allocations: 4 kB / 0.8166 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.02686, allocations: 23.88 kB / 0.8166 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.02687, allocations: 3.938 kB / 0.8166 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.02713, allocations: 237.4 kB / 0.8168 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.02716, allocations: 19.98 kB / 0.8168 GB, free: 14.67 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 (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.0001278/0.02729, allocations: 168.5 kB / 0.817 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.02733, allocations: 87.25 kB / 0.8171 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.02776, allocations: 0.5779 MB / 0.8176 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.02776, allocations: 0 / 0.8176 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.02776, allocations: 4 kB / 0.8176 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.02776, allocations: 3.938 kB / 0.8176 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.02801, allocations: 387.5 kB / 0.818 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02802, allocations: 0 / 0.818 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.02805, allocations: 7.984 kB / 0.818 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.02805, allocations: 4 kB / 0.818 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.02806, allocations: 0 / 0.818 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.02806, allocations: 4.109 kB / 0.818 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.02807, allocations: 11.92 kB / 0.818 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.02845, allocations: 0.6657 MB / 0.8187 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.02851, allocations: 83.3 kB / 0.8188 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.02855, allocations: 4 kB / 0.8188 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.02862, allocations: 11.98 kB / 0.8188 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.02864, allocations: 7.922 kB / 0.8188 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.02867, allocations: 15.98 kB / 0.8188 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003152/0.02898, allocations: 0.5697 MB / 0.8194 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.02898, allocations: 4 kB / 0.8194 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008937/0.02987, allocations: 0.5923 MB / 0.8199 GB, free: 11.39 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.001238/0.03111, allocations: 0.7913 MB / 0.8207 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008915/0.032, allocations: 1.088 MB / 0.8218 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03201, allocations: 0 / 0.8218 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.03211, allocations: 171.6 kB / 0.8219 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.03236, allocations: 53.55 kB / 0.822 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.03354, allocations: 1.545 MB / 0.8235 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.03364, allocations: 195.6 kB / 0.8237 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.264e-05/0.03373, allocations: 33.45 kB / 0.8237 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.03386, allocations: 114.2 kB / 0.8238 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of SimCode: time 1.142e-06/0.03386, allocations: 0 / 0.8238 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of Templates: time 0.01845/0.05232, allocations: 16.51 MB / 0.84 GB, free: 6.984 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.500189349986613]