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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_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.008112/0.008112, allocations: 97.66 kB / 15.73 MB, free: 6.059 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.001761/0.001761, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.774/2.774, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.88 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3121, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00297/0.315, allocations: 1.774 MB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007695/0.3227, allocations: 5.406 MB / 1.228 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3229, allocations: 7.938 kB / 1.228 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.324, allocations: 362.4 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.3242, allocations: 67.66 kB / 1.228 GB, free: 6.133 MB / 0.9825 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.1.0-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.003677/0.3279, allocations: 1.496 MB / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.3282, allocations: 159.3 kB / 1.23 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.3282, allocations: 9.547 kB / 1.23 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.3283, allocations: 63.72 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.3286, allocations: 159.5 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.3286, allocations: 16 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.3317, allocations: 2.219 MB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.3319, allocations: 279.7 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.3322, allocations: 302.1 kB / 1.233 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.3352, allocations: 2.192 MB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3352, allocations: 0 / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3352, allocations: 0 / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.3352, allocations: 4 kB / 1.235 GB, free: 15.24 MB / 0.9981 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.008394/0.3436, allocations: 1.414 MB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3437, allocations: 8.031 kB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.3441, allocations: 96.2 kB / 1.236 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.3447, allocations: 414.3 kB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3447, allocations: 12.31 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.3447, allocations: 4.375 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.3452, allocations: 391.5 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3452, allocations: 0 / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3452, allocations: 4 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3452, allocations: 0 / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.3457, allocations: 443.7 kB / 1.238 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.3463, allocations: 0.666 MB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.3469, allocations: 0.5555 MB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.3472, allocations: 337.7 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009934/0.3482, allocations: 1.028 MB / 1.24 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.3486, allocations: 408.8 kB / 1.24 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.3486, allocations: 7.938 kB / 1.24 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001424/0.35, allocations: 1.301 MB / 1.242 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.3501, allocations: 81.09 kB / 1.242 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.3514, allocations: 1.294 MB / 1.243 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.3515, allocations: 33.69 kB / 1.243 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.3517, allocations: 301.9 kB / 1.243 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.3517, allocations: 15.91 kB / 1.243 GB, free: 6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.3521, allocations: 351.6 kB / 1.244 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3522, allocations: 314 kB / 1.244 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.3534, allocations: 1.377 MB / 1.245 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.3548, allocations: 1.501 MB / 1.247 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5779/0.9327, allocations: 3.565 MB / 1.25 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.9327, allocations: 0 / 1.25 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004363/0.9371, allocations: 4.016 MB / 1.254 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.9371, allocations: 8.125 kB / 1.254 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.9371, allocations: 3.906 kB / 1.254 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.9372, allocations: 1 kB / 1.254 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.9373, allocations: 21.05 kB / 1.254 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.9373, allocations: 2.438 kB / 1.254 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.9378, allocations: 235.4 kB / 1.254 GB, free: 27.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.9379, allocations: 24.64 kB / 1.255 GB, free: 27.98 MB / 0.9981 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.0003769/0.9382, allocations: 254.1 kB / 1.255 GB, free: 27.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.9383, allocations: 80.86 kB / 1.255 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.9386, allocations: 79.38 kB / 1.255 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.9386, allocations: 1.031 kB / 1.255 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.9386, allocations: 0.6875 kB / 1.255 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.9386, allocations: 2.5 kB / 1.255 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.9391, allocations: 0.5207 MB / 1.255 GB, free: 27.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9391, allocations: 1.312 kB / 1.255 GB, free: 27.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.9392, allocations: 13.09 kB / 1.255 GB, free: 27.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.9392, allocations: 2.875 kB / 1.255 GB, free: 27.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.9392, allocations: 6.078 kB / 1.255 GB, free: 27.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.9392, allocations: 2.906 kB / 1.255 GB, free: 27.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9392, allocations: 0.6094 kB / 1.255 GB, free: 27.56 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.9401, allocations: 1.02 MB / 1.256 GB, free: 27.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.9402, allocations: 164.4 kB / 1.257 GB, free: 27.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.248e-05/0.9403, allocations: 1.844 kB / 1.257 GB, free: 27.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.9404, allocations: 9.453 kB / 1.257 GB, free: 27.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.9404, allocations: 9.922 kB / 1.257 GB, free: 27.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.9405, allocations: 12.3 kB / 1.257 GB, free: 27.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006572/0.9411, allocations: 0.7265 MB / 1.257 GB, free: 27.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9411, allocations: 0 / 1.257 GB, free: 27.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001279/0.9424, allocations: 0.5908 MB / 1.258 GB, free: 27.11 MB / 0.9981 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.001518/0.9439, allocations: 0.7005 MB / 1.259 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.9459, allocations: 1.997 MB / 1.261 GB, free: 26.87 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9459, allocations: 0 / 1.261 GB, free: 26.87 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.9463, allocations: 340.1 kB / 1.261 GB, free: 26.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.9467, allocations: 62 kB / 1.261 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.9492, allocations: 1.894 MB / 1.263 GB, free: 26.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.9497, allocations: 0.9895 MB / 1.264 GB, free: 25.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.9499, allocations: 38.7 kB / 1.264 GB, free: 25.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.95, allocations: 30.84 kB / 1.264 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/0.95, allocations: 0.5625 kB / 1.264 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of Templates: time 0.02655/0.9765, allocations: 14.22 MB / 1.278 GB, free: 24.71 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches