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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 115.3 kB / 16.42 MB, free: 6.035 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.001841/0.001841, allocations: 182.8 kB / 17.35 MB, free: 5.629 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.364/1.364, 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.503/2.503, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7677, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002249/0.77, allocations: 1.432 MB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00593/0.776, allocations: 4.202 MB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.776, allocations: 7.938 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.7762, allocations: 11.86 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.7764, allocations: 43.77 kB / 1.173 GB, free: 14.15 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.003674/0.7801, allocations: 1.507 MB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.7803, allocations: 91.72 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.7803, allocations: 4 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.7804, allocations: 51.83 kB / 1.175 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.7806, allocations: 147.6 kB / 1.175 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.7807, allocations: 12 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.7837, allocations: 2.207 MB / 1.177 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.7839, allocations: 267.8 kB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.7842, allocations: 278.3 kB / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.7867, allocations: 2.114 MB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7867, allocations: 4 kB / 1.179 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7867, allocations: 0 / 1.179 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.7867, allocations: 0 / 1.179 GB, free: 7.477 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.01039/0.7971, allocations: 1.292 MB / 1.181 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.7972, allocations: 8.922 kB / 1.181 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.7976, allocations: 91.59 kB / 1.181 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.798, allocations: 365 kB / 1.181 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.798, allocations: 16.36 kB / 1.181 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.798, allocations: 4.375 kB / 1.181 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.7985, allocations: 391.4 kB / 1.182 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.7985, allocations: 0 / 1.182 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.7985, allocations: 3.984 kB / 1.182 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.7985, allocations: 0 / 1.182 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.7989, allocations: 435.8 kB / 1.182 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.7995, allocations: 0.6327 MB / 1.183 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.8, allocations: 0.5594 MB / 1.183 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.8003, allocations: 337.7 kB / 1.183 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00097/0.8013, allocations: 1.028 MB / 1.184 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003838/0.8017, allocations: 412.8 kB / 1.185 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.8017, allocations: 0 / 1.185 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.001249/0.8029, allocations: 1.293 MB / 1.186 GB, free: 216 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.803, allocations: 77.11 kB / 1.186 GB, free: 120 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.8041, allocations: 1.214 MB / 1.187 GB, free: 14.88 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.8041, allocations: 33.7 kB / 1.187 GB, free: 14.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.8043, allocations: 261.5 kB / 1.188 GB, free: 14.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.8044, allocations: 23.73 kB / 1.188 GB, free: 14.56 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.8047, allocations: 355.5 kB / 1.188 GB, free: 14.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.8048, allocations: 318 kB / 1.188 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.8059, allocations: 1.373 MB / 1.19 GB, free: 12.52 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.8072, allocations: 1.501 MB / 1.191 GB, free: 11.01 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/0.8142, allocations: 3.564 MB / 1.195 GB, free: 7.352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8142, allocations: 7.938 kB / 1.195 GB, free: 7.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004078/0.8183, allocations: 3.991 MB / 1.199 GB, free: 3.316 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8183, allocations: 15.88 kB / 1.199 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.8184, allocations: 8.016 kB / 1.199 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.8184, allocations: 4 kB / 1.199 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.8185, allocations: 12 kB / 1.199 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.8185, allocations: 0 / 1.199 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.819, allocations: 232.3 kB / 1.199 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.8191, allocations: 24.3 kB / 1.199 GB, free: 3.023 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.0002866/0.8194, allocations: 243.1 kB / 1.199 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.8194, allocations: 70.72 kB / 1.199 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.8197, allocations: 75.06 kB / 1.199 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8197, allocations: 0 / 1.199 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8197, allocations: 0 / 1.199 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.8198, allocations: 151.9 kB / 1.199 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.8199, allocations: 0 / 1.199 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.8201, allocations: 7.984 kB / 1.199 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.8201, allocations: 12.02 kB / 1.199 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008881/0.821, allocations: 1.07 MB / 1.2 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000893/0.8219, allocations: 1.216 MB / 1.202 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003098/0.8222, allocations: 339.8 kB / 1.202 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006828/0.8229, allocations: 0.6689 MB / 1.203 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of Backend: time 3.31e-07/0.8229, allocations: 0 / 1.203 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004346/0.8273, allocations: 2.901 MB / 1.205 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001859/0.8292, allocations: 1.733 MB / 1.207 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.02353/0.8527, allocations: 13.92 MB / 1.221 GB, free: 12.54 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches