Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001617/0.001617, allocations: 113.9 kB / 16.42 MB, free: 6.461 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.001916/0.001916, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.534/2.534, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 1.055 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7111, allocations: 157.4 MB / 1.209 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002896/0.714, allocations: 1.756 MB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007681/0.7218, allocations: 5.389 MB / 1.215 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.7219, allocations: 7.938 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.7232, allocations: 368.4 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.7233, allocations: 59.67 kB / 1.216 GB, free: 5.996 MB / 0.9356 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 11.0.1-master/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.003731/0.7271, allocations: 1.496 MB / 1.217 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.7274, allocations: 159 kB / 1.218 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.066e-05/0.7275, allocations: 17.55 kB / 1.218 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.7276, allocations: 59.66 kB / 1.218 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.7278, allocations: 159.5 kB / 1.218 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.7279, allocations: 16 kB / 1.218 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/0.7315, allocations: 2.211 MB / 1.22 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.7317, allocations: 291.7 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.732, allocations: 302.2 kB / 1.22 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003645/0.7357, allocations: 2.174 MB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7357, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7357, allocations: 4 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.7357, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 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.008555/0.7443, allocations: 1.37 MB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7444, allocations: 8.031 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.7448, allocations: 91.59 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.7454, allocations: 410.2 kB / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.7454, allocations: 12.36 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.7454, allocations: 8.375 kB / 1.224 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.7459, allocations: 391.4 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.7459, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.7459, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.7459, allocations: 3.938 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.7463, allocations: 435.7 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.747, allocations: 0.681 MB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.7475, allocations: 0.5595 MB / 1.226 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.7479, allocations: 333.6 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009705/0.7488, allocations: 1.028 MB / 1.228 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003899/0.7492, allocations: 404.8 kB / 1.228 GB, free: 9 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.7493, allocations: 0 / 1.228 GB, free: 9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.001298/0.7506, allocations: 1.3 MB / 1.229 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.7506, allocations: 81.11 kB / 1.23 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.7519, allocations: 1.293 MB / 1.231 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.7519, allocations: 29.7 kB / 1.231 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.7521, allocations: 285.4 kB / 1.231 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.7522, allocations: 19.92 kB / 1.231 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.7525, allocations: 355.6 kB / 1.231 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7526, allocations: 322 kB / 1.232 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.7539, allocations: 1.369 MB / 1.233 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.7552, allocations: 1.505 MB / 1.235 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007108/0.7623, allocations: 3.556 MB / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7623, allocations: 4 kB / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004321/0.7666, allocations: 4.01 MB / 1.242 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7667, allocations: 15.88 kB / 1.242 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.7667, allocations: 0 / 1.242 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.7667, allocations: 4 kB / 1.242 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.7668, allocations: 28.02 kB / 1.242 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7669, allocations: 0 / 1.242 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.7673, allocations: 228.2 kB / 1.242 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.7674, allocations: 23.98 kB / 1.242 GB, free: 10.39 MB / 0.9669 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.0003232/0.7677, allocations: 249.6 kB / 1.242 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.7678, allocations: 78.61 kB / 1.243 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.7681, allocations: 79.83 kB / 1.243 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.7681, allocations: 3.984 kB / 1.243 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7681, allocations: 4 kB / 1.243 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.7683, allocations: 155.8 kB / 1.243 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.7683, allocations: 0 / 1.243 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.7685, allocations: 11.98 kB / 1.243 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.7686, allocations: 7.984 kB / 1.243 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009225/0.7695, allocations: 1.07 MB / 1.244 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009333/0.7704, allocations: 1.217 MB / 1.245 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003071/0.7708, allocations: 344.3 kB / 1.245 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008217/0.7716, allocations: 0.7222 MB / 1.246 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of Backend: time 5.91e-07/0.7716, allocations: 0 / 1.246 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004527/0.7761, allocations: 2.89 MB / 1.249 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002484/0.7786, allocations: 1.878 MB / 1.251 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of Templates: time 0.02562/0.8043, allocations: 14.66 MB / 1.265 GB, free: 2.977 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches