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.001111/0.001111, allocations: 108.5 kB / 16.41 MB, free: 6.406 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.001166/0.001166, allocations: 192.3 kB / 17.35 MB, free: 5.691 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.7301, allocations: 159.1 MB / 1.221 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003254/0.7333, allocations: 1.75 MB / 1.223 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007874/0.7412, allocations: 5.398 MB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.7414, allocations: 0 / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.7428, allocations: 372.4 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.7429, allocations: 63.67 kB / 1.228 GB, free: 10.71 MB / 0.9512 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.003822/0.7468, allocations: 1.492 MB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.7471, allocations: 163.3 kB / 1.23 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.7471, allocations: 13.5 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.7472, allocations: 55.78 kB / 1.23 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.7474, allocations: 163.5 kB / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.7475, allocations: 16 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.7508, allocations: 2.219 MB / 1.232 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.751, allocations: 279.8 kB / 1.233 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.7513, allocations: 302.2 kB / 1.233 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.7546, allocations: 2.174 MB / 1.235 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7546, allocations: 0 / 1.235 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7546, allocations: 0 / 1.235 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.7546, allocations: 4 kB / 1.235 GB, free: 3.836 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.01087/0.7655, allocations: 1.367 MB / 1.236 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.7656, allocations: 8.625 kB / 1.236 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004858/0.766, allocations: 95.58 kB / 1.236 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.7668, allocations: 422 kB / 1.237 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.7668, allocations: 8.375 kB / 1.237 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.7669, allocations: 8.312 kB / 1.237 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.7674, allocations: 399.5 kB / 1.237 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.7674, allocations: 0 / 1.237 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.7674, allocations: 3.984 kB / 1.237 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.7674, allocations: 0 / 1.237 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.7679, allocations: 439.7 kB / 1.238 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.7686, allocations: 0.6732 MB / 1.238 GB, free: 288 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.7692, allocations: 0.5556 MB / 1.239 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.7695, allocations: 337.6 kB / 1.239 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.7705, allocations: 1.032 MB / 1.24 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.771, allocations: 396.8 kB / 1.241 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.771, allocations: 0 / 1.241 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.001422/0.7724, allocations: 1.3 MB / 1.242 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.7725, allocations: 85.09 kB / 1.242 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.7739, allocations: 1.293 MB / 1.243 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.7739, allocations: 29.7 kB / 1.243 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.7742, allocations: 281.4 kB / 1.244 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.7742, allocations: 19.8 kB / 1.244 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.7746, allocations: 355.8 kB / 1.244 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7747, allocations: 322 kB / 1.244 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.776, allocations: 1.377 MB / 1.246 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.7773, allocations: 1.507 MB / 1.247 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007197/0.7845, allocations: 3.557 MB / 1.25 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.7846, allocations: 0 / 1.25 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004577/0.7891, allocations: 4.014 MB / 1.254 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.7892, allocations: 11.94 kB / 1.254 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.7892, allocations: 4 kB / 1.254 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.7892, allocations: 4 kB / 1.254 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.7894, allocations: 20.02 kB / 1.254 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.7894, allocations: 0 / 1.254 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.79, allocations: 224.3 kB / 1.255 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.79, allocations: 23.98 kB / 1.255 GB, free: 15.11 MB / 0.9825 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.0003522/0.7904, allocations: 261.6 kB / 1.255 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.7905, allocations: 74.62 kB / 1.255 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.7909, allocations: 83.81 kB / 1.255 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.7909, allocations: 0 / 1.255 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7909, allocations: 4 kB / 1.255 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.791, allocations: 155.8 kB / 1.255 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.7911, allocations: 0 / 1.255 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.7913, allocations: 11.98 kB / 1.255 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.7914, allocations: 11.92 kB / 1.255 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000984/0.7924, allocations: 1.062 MB / 1.256 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009758/0.7934, allocations: 1.224 MB / 1.257 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003055/0.7937, allocations: 339.8 kB / 1.258 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000892/0.7946, allocations: 0.7222 MB / 1.259 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of Backend: time 6.71e-07/0.7946, allocations: 0 / 1.259 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005165/0.7998, allocations: 2.894 MB / 1.261 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002469/0.8023, allocations: 1.874 MB / 1.263 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of Templates: time 0.02554/0.8278, allocations: 14.55 MB / 1.277 GB, free: 7.801 MB / 0.9981 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