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.001076/0.001076, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009297/0.009297, allocations: 170 kB / 16.26 MB, free: 6.613 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.399/2.399, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6422/0.6426, allocations: 142.4 MB / 0.9551 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001249/0.6439, allocations: 1.136 MB / 0.9562 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004153/0.6481, allocations: 3.154 MB / 0.9593 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.6482, allocations: 1.375 kB / 0.9593 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.6483, allocations: 7.922 kB / 0.9593 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.6485, allocations: 32.09 kB / 0.9593 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.6509, allocations: 0.7731 MB / 0.9601 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.651, allocations: 106.9 kB / 0.9602 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.6511, allocations: 3.156 kB / 0.9602 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.6512, allocations: 42.38 kB / 0.9602 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.6514, allocations: 157.2 kB / 0.9604 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.6515, allocations: 12.38 kB / 0.9604 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.6536, allocations: 1.399 MB / 0.9617 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.6539, allocations: 269.2 kB / 0.962 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.6543, allocations: 302.2 kB / 0.9623 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.6569, allocations: 1.478 MB / 0.9637 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6569, allocations: 0 / 0.9637 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6569, allocations: 4 kB / 0.9637 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.6569, allocations: 0 / 0.9637 GB, free: 1.715 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.01079/0.6677, allocations: 1.155 MB / 0.9649 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6678, allocations: 9 kB / 0.9649 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003766/0.6681, allocations: 88.64 kB / 0.9649 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.6685, allocations: 353.4 kB / 0.9653 GB, free: 400 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6685, allocations: 11.45 kB / 0.9653 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.6686, allocations: 5.469 kB / 0.9653 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.669, allocations: 386.8 kB / 0.9657 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.669, allocations: 0 / 0.9657 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.6691, allocations: 5.031 kB / 0.9657 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6691, allocations: 5.031 kB / 0.9657 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.6695, allocations: 438.2 kB / 0.9661 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.6702, allocations: 0.6271 MB / 0.9667 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.6708, allocations: 0.5661 MB / 0.9673 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.6711, allocations: 337.1 kB / 0.9676 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.6722, allocations: 1.037 MB / 0.9686 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.6727, allocations: 406.4 kB / 0.969 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 3.266e-06/0.6727, allocations: 4.812 kB / 0.969 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001374/0.674, allocations: 1.283 MB / 0.9702 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.6741, allocations: 92.69 kB / 0.9703 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.6755, allocations: 1.212 MB / 0.9715 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.6756, allocations: 31.8 kB / 0.9715 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.6758, allocations: 256.2 kB / 0.9718 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.6759, allocations: 23.89 kB / 0.9718 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.6761, allocations: 288.5 kB / 0.9721 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6763, allocations: 311.5 kB / 0.9724 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.6776, allocations: 1.359 MB / 0.9737 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.6789, allocations: 1.498 MB / 0.9752 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007398/0.6863, allocations: 3.534 MB / 0.9786 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6864, allocations: 0 / 0.9786 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004495/0.6909, allocations: 3.969 MB / 0.9825 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6909, allocations: 8.031 kB / 0.9825 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.691, allocations: 0 / 0.9825 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.691, allocations: 4 kB / 0.9825 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.6911, allocations: 23.92 kB / 0.9825 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.6911, allocations: 0 / 0.9825 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.6918, allocations: 228.3 kB / 0.9828 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.6919, allocations: 19.98 kB / 0.9828 GB, free: 2.379 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.000321/0.6922, allocations: 233.7 kB / 0.983 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.6923, allocations: 78.72 kB / 0.9831 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.6926, allocations: 74.83 kB / 0.9831 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6926, allocations: 4 kB / 0.9831 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6927, allocations: 0 / 0.9831 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6927, allocations: 0 / 0.9831 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.6931, allocations: 496.7 kB / 0.9836 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6932, allocations: 0 / 0.9836 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.6932, allocations: 19.95 kB / 0.9836 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.6933, allocations: 0 / 0.9836 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.6933, allocations: 8 kB / 0.9836 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6933, allocations: 0 / 0.9836 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6933, allocations: 0 / 0.9836 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.6942, allocations: 1.005 MB / 0.9846 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.6944, allocations: 151.8 kB / 0.9848 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.6944, allocations: 3.938 kB / 0.9848 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.6946, allocations: 11.97 kB / 0.9848 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.6946, allocations: 8 kB / 0.9848 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.6947, allocations: 15.97 kB / 0.9848 GB, free: 184 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007846/0.6955, allocations: 0.6648 MB / 0.9855 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6955, allocations: 0 / 0.9855 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001241/0.6967, allocations: 399.9 kB / 0.9858 GB, free: 15.12 MB / 0.7481 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.0015/0.6982, allocations: 482.8 kB / 0.9863 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002363/0.7006, allocations: 2.495 MB / 0.9887 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7006, allocations: 0 / 0.9887 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.701, allocations: 343.7 kB / 0.9891 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.7014, allocations: 43.98 kB / 0.9891 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.7036, allocations: 1.926 MB / 0.991 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.7042, allocations: 0.9643 MB / 0.9919 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.7044, allocations: 32.56 kB / 0.992 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.7045, allocations: 31.41 kB / 0.992 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of SimCode: time 4.1e-07/0.7045, allocations: 0 / 0.992 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of Templates: time 0.01646/0.721, allocations: 9.173 MB / 1.001 GB, free: 15.61 MB / 0.7637 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