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.001765/0.001765, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001943/0.001943, allocations: 201.3 kB / 16.14 MB, free: 6.086 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.348 MB / 190.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.724/2.724, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.91 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6507/0.6527, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003115/0.6558, allocations: 1.818 MB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008624/0.6645, allocations: 5.666 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.966e-05/0.6646, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.6657, allocations: 366.6 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.6659, allocations: 51.73 kB / 1.024 GB, free: 10.87 MB / 0.7794 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.669, allocations: 1.178 MB / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.6692, allocations: 203.3 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.6693, allocations: 17.55 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.279e-05/0.6694, allocations: 47.8 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.6696, allocations: 184.8 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.6697, allocations: 16 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.6732, allocations: 2.176 MB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.6736, allocations: 283.8 kB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.674, allocations: 310.1 kB / 1.029 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.6779, allocations: 2.229 MB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6779, allocations: 0 / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6779, allocations: 0 / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.6779, allocations: 0 / 1.031 GB, free: 4.234 MB / 0.7794 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.008349/0.6863, allocations: 1.364 MB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6863, allocations: 8.031 kB / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/0.6868, allocations: 95.53 kB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.6873, allocations: 406.2 kB / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.6873, allocations: 8.375 kB / 1.033 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.6874, allocations: 8.359 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.6879, allocations: 391.5 kB / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6879, allocations: 3.938 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.6879, allocations: 0 / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.6879, allocations: 7.984 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.6885, allocations: 431.7 kB / 1.033 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.6892, allocations: 0.6771 MB / 1.034 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.6898, allocations: 0.5672 MB / 1.035 GB, free: 120 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.6902, allocations: 333.6 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.6915, allocations: 1.025 MB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.6919, allocations: 416.8 kB / 1.036 GB, free: 14.11 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.692, allocations: 0 / 1.036 GB, free: 14.11 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.001542/0.6935, allocations: 1.3 MB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.6936, allocations: 81.05 kB / 1.038 GB, free: 12.71 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.695, allocations: 1.286 MB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.6951, allocations: 33.7 kB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.6953, allocations: 285.4 kB / 1.039 GB, free: 11.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.6954, allocations: 27.64 kB / 1.039 GB, free: 11.06 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.6958, allocations: 351.6 kB / 1.04 GB, free: 10.71 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6959, allocations: 326.1 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.6974, allocations: 1.369 MB / 1.041 GB, free: 9.016 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.6989, allocations: 1.505 MB / 1.043 GB, free: 7.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007653/0.7066, allocations: 3.56 MB / 1.046 GB, free: 3.848 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7066, allocations: 0 / 1.046 GB, free: 3.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004592/0.7112, allocations: 4.006 MB / 1.05 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7112, allocations: 5.25 kB / 1.05 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.7113, allocations: 4 kB / 1.05 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7113, allocations: 0 / 1.05 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.7114, allocations: 23.92 kB / 1.05 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7115, allocations: 0 / 1.05 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.712, allocations: 236.3 kB / 1.05 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.712, allocations: 23.98 kB / 1.05 GB, free: 15.52 MB / 0.8106 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.000341/0.7124, allocations: 241.7 kB / 1.051 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.7125, allocations: 78.61 kB / 1.051 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.7128, allocations: 87.77 kB / 1.051 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.7128, allocations: 3.984 kB / 1.051 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7128, allocations: 0 / 1.051 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.7128, allocations: 4 kB / 1.051 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.7133, allocations: 0.5178 MB / 1.051 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7133, allocations: 0 / 1.051 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.7134, allocations: 11.94 kB / 1.051 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7134, allocations: 0 / 1.051 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.7135, allocations: 7.984 kB / 1.051 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7135, allocations: 0 / 1.051 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7135, allocations: 0 / 1.051 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.7145, allocations: 1.006 MB / 1.052 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.7146, allocations: 163.7 kB / 1.053 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.7147, allocations: 4 kB / 1.053 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.7149, allocations: 7.938 kB / 1.053 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.7149, allocations: 15.92 kB / 1.053 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.715, allocations: 11.98 kB / 1.053 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008593/0.7158, allocations: 0.7261 MB / 1.053 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7158, allocations: 0 / 1.053 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001546/0.7174, allocations: 0.5857 MB / 1.054 GB, free: 11.94 MB / 0.8106 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.001991/0.7194, allocations: 0.6927 MB / 1.055 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00259/0.722, allocations: 2.556 MB / 1.057 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.722, allocations: 0 / 1.057 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.7224, allocations: 339.8 kB / 1.057 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.7228, allocations: 62.77 kB / 1.057 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.7253, allocations: 2.066 MB / 1.059 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.726, allocations: 0.9842 MB / 1.06 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002095/0.7262, allocations: 49.41 kB / 1.06 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.7263, allocations: 23.42 kB / 1.06 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.7263, allocations: 0 / 1.06 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of Templates: time 0.02488/0.7512, allocations: 13.88 MB / 1.074 GB, free: 7.297 MB / 0.8262 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=400 -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/jenkins/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