Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 116.1 kB / 16.42 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.00174, allocations: 190.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.466/2.466, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 71.88 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8685, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00301/0.8715, allocations: 1.77 MB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007924/0.8795, allocations: 5.398 MB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.8796, allocations: 4 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.8809, allocations: 368.9 kB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.8811, allocations: 59.66 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 10.1.1-maint.10.0.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.004066/0.8852, allocations: 1.497 MB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000284/0.8855, allocations: 159.4 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.8856, allocations: 13.55 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.8857, allocations: 63.7 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.8859, allocations: 167.5 kB / 1.177 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.886, allocations: 12 kB / 1.177 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003608/0.8896, allocations: 2.2 MB / 1.179 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.8899, allocations: 287.8 kB / 1.179 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.8902, allocations: 310.1 kB / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003437/0.8936, allocations: 2.178 MB / 1.181 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8937, allocations: 3.938 kB / 1.181 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8937, allocations: 0 / 1.181 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.939e-05/0.8937, allocations: 0 / 1.181 GB, free: 5.336 MB / 0.9044 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.01067/0.9044, allocations: 1.366 MB / 1.183 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.9044, allocations: 16.03 kB / 1.183 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.9049, allocations: 95.59 kB / 1.183 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.9055, allocations: 406.2 kB / 1.183 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.9055, allocations: 4.375 kB / 1.183 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.9055, allocations: 8.375 kB / 1.183 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.906, allocations: 395.5 kB / 1.184 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.906, allocations: 0 / 1.184 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.906, allocations: 0 / 1.184 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.906, allocations: 7.938 kB / 1.184 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.9065, allocations: 435.7 kB / 1.184 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/0.9071, allocations: 0.6692 MB / 1.185 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.9077, allocations: 0.5672 MB / 1.185 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.908, allocations: 337.7 kB / 1.186 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.909, allocations: 1.028 MB / 1.187 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.9094, allocations: 412.8 kB / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.9094, allocations: 3.938 kB / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001339/0.9108, allocations: 1.289 MB / 1.188 GB, free: 13.9 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.9108, allocations: 85.05 kB / 1.188 GB, free: 13.8 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.9122, allocations: 1.293 MB / 1.19 GB, free: 12.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.9122, allocations: 25.7 kB / 1.19 GB, free: 12.46 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.9125, allocations: 289.4 kB / 1.19 GB, free: 12.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.9125, allocations: 19.8 kB / 1.19 GB, free: 12.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.9129, allocations: 351.6 kB / 1.19 GB, free: 11.81 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.913, allocations: 322.1 kB / 1.191 GB, free: 11.49 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.9142, allocations: 1.373 MB / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.9156, allocations: 1.501 MB / 1.193 GB, free: 8.602 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007226/0.9228, allocations: 3.56 MB / 1.197 GB, free: 4.949 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.9229, allocations: 0 / 1.197 GB, free: 4.949 MB / 0.92 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004687/0.9276, allocations: 4.014 MB / 1.201 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.9276, allocations: 7.938 kB / 1.201 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.9276, allocations: 4 kB / 1.201 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.9277, allocations: 0 / 1.201 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.9278, allocations: 19.92 kB / 1.201 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.9278, allocations: 0 / 1.201 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.9284, allocations: 244.2 kB / 1.201 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.9284, allocations: 23.98 kB / 1.201 GB, free: 0.6016 MB / 0.92 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.0003462/0.9288, allocations: 241.7 kB / 1.201 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.9289, allocations: 74.62 kB / 1.201 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.9292, allocations: 83.75 kB / 1.202 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9292, allocations: 4.031 kB / 1.202 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9292, allocations: 0 / 1.202 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.9294, allocations: 163.8 kB / 1.202 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/0.9295, allocations: 0 / 1.202 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.9296, allocations: 4 kB / 1.202 GB, free: 0 / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.9297, allocations: 12.05 kB / 1.202 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001014/0.9307, allocations: 1.07 MB / 1.203 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001068/0.9318, allocations: 1.213 MB / 1.204 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000325/0.9322, allocations: 339.8 kB / 1.204 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008378/0.933, allocations: 0.7261 MB / 1.205 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of Backend: time 1.864e-06/0.933, allocations: 0 / 1.205 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005183/0.9382, allocations: 2.9 MB / 1.208 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002352/0.9406, allocations: 1.867 MB / 1.21 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.02594/0.9666, allocations: 14.55 MB / 1.224 GB, free: 9.309 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches