Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001273/0.001273, 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.001304/0.001304, allocations: 192.9 kB / 16.13 MB, free: 6.648 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 0.8119 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6464/0.6477, allocations: 140.3 MB / 0.949 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002171/0.6499, allocations: 1.47 MB / 0.9504 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004017/0.6539, allocations: 3.221 MB / 0.9535 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.654, allocations: 4 kB / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.6541, allocations: 4.906 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.6544, allocations: 31.58 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.6564, allocations: 0.7683 MB / 0.9543 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.6565, allocations: 110.3 kB / 0.9544 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.6566, allocations: 6.938 kB / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.6567, allocations: 38.89 kB / 0.9545 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.6569, allocations: 152.8 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.6569, allocations: 12.59 kB / 0.9546 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.6589, allocations: 1.407 MB / 0.956 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.6591, allocations: 268.8 kB / 0.9563 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.6593, allocations: 273 kB / 0.9565 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.661, allocations: 1.469 MB / 0.958 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.661, allocations: 0 / 0.958 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.661, allocations: 0 / 0.958 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.661, allocations: 1.156 kB / 0.958 GB, free: 3.246 MB / 0.7169 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.007733/0.6688, allocations: 1.212 MB / 0.9591 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6688, allocations: 9.312 kB / 0.9592 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.6693, allocations: 93.11 kB / 0.9592 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.6696, allocations: 361 kB / 0.9596 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6697, allocations: 2.781 kB / 0.9596 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.6697, allocations: 9.625 kB / 0.9596 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.6701, allocations: 394.6 kB / 0.96 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6702, allocations: 5.188 kB / 0.96 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.6702, allocations: 0 / 0.96 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6702, allocations: 1.062 kB / 0.96 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.6706, allocations: 431.2 kB / 0.9604 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.6712, allocations: 0.6349 MB / 0.961 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.6717, allocations: 0.5651 MB / 0.9616 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.6721, allocations: 337.1 kB / 0.9619 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009531/0.673, allocations: 1.028 MB / 0.9629 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.6735, allocations: 411.2 kB / 0.9633 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.6735, allocations: 0 / 0.9633 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001421/0.6749, allocations: 1.291 MB / 0.9645 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.675, allocations: 91.75 kB / 0.9646 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.6763, allocations: 1.201 MB / 0.9658 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.6763, allocations: 31.86 kB / 0.9658 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.6766, allocations: 260.4 kB / 0.9661 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.6766, allocations: 19.59 kB / 0.9661 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.677, allocations: 348 kB / 0.9664 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6771, allocations: 315.1 kB / 0.9667 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.6784, allocations: 1.36 MB / 0.9681 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.6798, allocations: 1.498 MB / 0.9695 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007205/0.687, allocations: 3.537 MB / 0.973 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.6871, allocations: 4 kB / 0.973 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004343/0.6914, allocations: 3.965 MB / 0.9769 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6915, allocations: 9.875 kB / 0.9769 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.6915, allocations: 0 / 0.9769 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6915, allocations: 3.984 kB / 0.9769 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.6916, allocations: 12 kB / 0.9769 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6917, allocations: 4 kB / 0.9769 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.6923, allocations: 236.2 kB / 0.9771 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.6923, allocations: 24.02 kB / 0.9771 GB, free: 4.793 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003195/0.6927, allocations: 245.6 kB / 0.9774 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.6927, allocations: 66.72 kB / 0.9774 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.693, allocations: 74.89 kB / 0.9775 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.693, allocations: 0 / 0.9775 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6931, allocations: 0 / 0.9775 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6931, allocations: 8.031 kB / 0.9775 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.6935, allocations: 0.489 MB / 0.978 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6935, allocations: 0 / 0.978 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.6936, allocations: 7.938 kB / 0.978 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6936, allocations: 4 kB / 0.978 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6936, allocations: 3.984 kB / 0.978 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6936, allocations: 0 / 0.978 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6936, allocations: 3.938 kB / 0.978 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.6946, allocations: 0.9935 MB / 0.979 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.6947, allocations: 155.8 kB / 0.9791 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.6948, allocations: 8 kB / 0.9791 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.6949, allocations: 7.938 kB / 0.9791 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.6949, allocations: 3.984 kB / 0.9791 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.695, allocations: 11.98 kB / 0.9792 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007191/0.6957, allocations: 0.6765 MB / 0.9798 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6957, allocations: 0 / 0.9798 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001328/0.6971, allocations: 395.9 kB / 0.9802 GB, free: 1.535 MB / 0.7325 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.001315/0.6984, allocations: 485.9 kB / 0.9807 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002498/0.7009, allocations: 2.499 MB / 0.9831 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7009, allocations: 4 kB / 0.9831 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.7012, allocations: 335.8 kB / 0.9834 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.7016, allocations: 36.42 kB / 0.9835 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.7038, allocations: 1.923 MB / 0.9853 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.7043, allocations: 0.9643 MB / 0.9863 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.7045, allocations: 32.55 kB / 0.9863 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.7046, allocations: 23.42 kB / 0.9863 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.7046, allocations: 3.938 kB / 0.9863 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of Templates: time 0.01648/0.7211, allocations: 9.274 MB / 0.9954 GB, free: 1.934 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches