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.001569/0.001568, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001918/0.001918, allocations: 191.7 kB / 16.13 MB, free: 6.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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.593/2.593, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.12 kB / 0.8686 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6182, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002443/0.6206, allocations: 1.495 MB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006412/0.6271, allocations: 4.498 MB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.6272, allocations: 3.938 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.6274, allocations: 15.92 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.6276, allocations: 27.84 kB / 1.023 GB, free: 12.69 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.003326/0.6309, allocations: 1.18 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.6311, allocations: 119.7 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.6311, allocations: 7.969 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.6312, allocations: 43.84 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.6314, allocations: 160.9 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.6315, allocations: 16 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.6348, allocations: 2.184 MB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.635, allocations: 263.8 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.6353, allocations: 282.3 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.6385, allocations: 2.161 MB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.6385, allocations: 0 / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6385, allocations: 0 / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.6385, allocations: 4 kB / 1.029 GB, free: 6.277 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.007905/0.6464, allocations: 1.296 MB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6465, allocations: 8.031 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.6469, allocations: 83.69 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.6473, allocations: 369 kB / 1.03 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.6473, allocations: 4.375 kB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.6473, allocations: 12.36 kB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.6478, allocations: 391.4 kB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.6478, allocations: 3.938 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6478, allocations: 7.984 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.6478, allocations: 0 / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.6482, allocations: 431.8 kB / 1.031 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.6488, allocations: 0.6365 MB / 1.032 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.6493, allocations: 0.5633 MB / 1.032 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.6496, allocations: 337.7 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.6506, allocations: 1.025 MB / 1.034 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004284/0.6511, allocations: 412.8 kB / 1.034 GB, free: 320 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.6511, allocations: 0 / 1.034 GB, free: 320 kB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.00142/0.6525, allocations: 1.297 MB / 1.035 GB, free: 15.01 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.6526, allocations: 77.11 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.6537, allocations: 1.218 MB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.6538, allocations: 29.7 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.654, allocations: 269.3 kB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.6541, allocations: 11.94 kB / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.6544, allocations: 359.6 kB / 1.037 GB, free: 13.01 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6545, allocations: 314 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.6558, allocations: 1.369 MB / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.6572, allocations: 1.501 MB / 1.04 GB, free: 9.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007181/0.6644, allocations: 3.568 MB / 1.044 GB, free: 6.152 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6644, allocations: 0 / 1.044 GB, free: 6.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004344/0.6687, allocations: 3.999 MB / 1.048 GB, free: 2.117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.6688, allocations: 6.344 kB / 1.048 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.6688, allocations: 7.938 kB / 1.048 GB, free: 2.105 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6688, allocations: 0 / 1.048 GB, free: 2.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.669, allocations: 20.02 kB / 1.048 GB, free: 2.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.669, allocations: 0 / 1.048 GB, free: 2.086 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.6695, allocations: 236.2 kB / 1.048 GB, free: 1.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/0.6695, allocations: 23.98 kB / 1.048 GB, free: 1.828 MB / 0.795 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.0003155/0.6699, allocations: 240.1 kB / 1.048 GB, free: 1.586 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.6699, allocations: 70.72 kB / 1.048 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.6702, allocations: 75.06 kB / 1.049 GB, free: 1.434 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.6702, allocations: 7.984 kB / 1.049 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6702, allocations: 0 / 1.049 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6702, allocations: 0 / 1.049 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.6707, allocations: 0.4891 MB / 1.049 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6707, allocations: 4 kB / 1.049 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.6708, allocations: 11.92 kB / 1.049 GB, free: 0.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.6708, allocations: 0 / 1.049 GB, free: 0.875 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.6708, allocations: 4 kB / 1.049 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6708, allocations: 7.969 kB / 1.049 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6708, allocations: 0 / 1.049 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.6717, allocations: 1.005 MB / 1.05 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.6718, allocations: 151.8 kB / 1.05 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.6719, allocations: 4 kB / 1.05 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.672, allocations: 7.984 kB / 1.05 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.6721, allocations: 7.984 kB / 1.05 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.6721, allocations: 11.98 kB / 1.05 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006853/0.6728, allocations: 0.6689 MB / 1.051 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6728, allocations: 0 / 1.051 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001556/0.6744, allocations: 0.5896 MB / 1.051 GB, free: 14.37 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.002191/0.6766, allocations: 0.6986 MB / 1.052 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002544/0.6791, allocations: 2.55 MB / 1.055 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.6792, allocations: 0 / 1.055 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.6796, allocations: 343.7 kB / 1.055 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.6802, allocations: 38.17 kB / 1.055 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.6829, allocations: 1.926 MB / 1.057 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.6837, allocations: 0.9682 MB / 1.058 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.684, allocations: 36.5 kB / 1.058 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6841, allocations: 27.41 kB / 1.058 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of SimCode: time 8.51e-07/0.6841, allocations: 0 / 1.058 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.02351/0.7076, allocations: 13.28 MB / 1.071 GB, free: 10.49 MB / 0.8262 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/jenkins/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