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.001466/0.001466, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.342/2.342, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.89 kB / 0.8126 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6652/0.6665, allocations: 140.4 MB / 0.9496 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002193/0.6688, allocations: 1.407 MB / 0.951 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003649/0.6724, allocations: 3.024 MB / 0.954 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.6725, allocations: 1.594 kB / 0.954 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.863e-05/0.6726, allocations: 17.11 kB / 0.954 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.6728, allocations: 34.91 kB / 0.954 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.675, allocations: 0.9953 MB / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.6751, allocations: 81 kB / 0.9551 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.6752, allocations: 3.5 kB / 0.9551 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.6752, allocations: 44.27 kB / 0.9551 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.6755, allocations: 148.6 kB / 0.9552 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.6755, allocations: 13.59 kB / 0.9553 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.6772, allocations: 1.375 MB / 0.9566 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.6774, allocations: 259.9 kB / 0.9568 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.6776, allocations: 276.8 kB / 0.9571 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.6791, allocations: 1.468 MB / 0.9585 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6791, allocations: 0 / 0.9585 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6791, allocations: 0 / 0.9585 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.6791, allocations: 1.125 kB / 0.9585 GB, free: 2.801 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.01034/0.6895, allocations: 1.208 MB / 0.9597 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6895, allocations: 10.16 kB / 0.9597 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.6899, allocations: 88.12 kB / 0.9598 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.6902, allocations: 361.3 kB / 0.9602 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.6902, allocations: 3.688 kB / 0.9602 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.6903, allocations: 8.719 kB / 0.9602 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.6907, allocations: 394.5 kB / 0.9605 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6907, allocations: 1.094 kB / 0.9605 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.6907, allocations: 0 / 0.9605 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6907, allocations: 0.9062 kB / 0.9605 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.6912, allocations: 439.1 kB / 0.961 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.6918, allocations: 0.6384 MB / 0.9616 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.6923, allocations: 0.5584 MB / 0.9621 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.6926, allocations: 332.5 kB / 0.9625 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.6937, allocations: 1.036 MB / 0.9635 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.6942, allocations: 406.5 kB / 0.9639 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.6942, allocations: 1.125 kB / 0.9639 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001364/0.6955, allocations: 1.291 MB / 0.9651 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.6956, allocations: 84.09 kB / 0.9652 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.6968, allocations: 1.201 MB / 0.9664 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.6968, allocations: 31.55 kB / 0.9664 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.697, allocations: 260.2 kB / 0.9666 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.6971, allocations: 23.8 kB / 0.9667 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/0.6975, allocations: 348.1 kB / 0.967 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6976, allocations: 312.1 kB / 0.9673 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.6988, allocations: 1.362 MB / 0.9686 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.7002, allocations: 1.493 MB / 0.9701 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007065/0.7073, allocations: 3.547 MB / 0.9735 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.7073, allocations: 0 / 0.9735 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004207/0.7115, allocations: 3.969 MB / 0.9774 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7116, allocations: 5.719 kB / 0.9774 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.7116, allocations: 4 kB / 0.9774 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.7116, allocations: 0 / 0.9774 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.7118, allocations: 24 kB / 0.9775 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7118, allocations: 0 / 0.9775 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.7124, allocations: 232.3 kB / 0.9777 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.7125, allocations: 19.98 kB / 0.9777 GB, free: 4.461 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.0003091/0.7128, allocations: 241.6 kB / 0.9779 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.7128, allocations: 66.72 kB / 0.978 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.7131, allocations: 78.89 kB / 0.9781 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7132, allocations: 0 / 0.9781 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7132, allocations: 0 / 0.9781 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7132, allocations: 0 / 0.9781 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.7136, allocations: 0.489 MB / 0.9785 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7136, allocations: 4 kB / 0.9785 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.7137, allocations: 15.86 kB / 0.9786 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.7137, allocations: 0 / 0.9786 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.7137, allocations: 4 kB / 0.9786 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7137, allocations: 4.031 kB / 0.9786 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.7137, allocations: 0 / 0.9786 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008963/0.7146, allocations: 1.001 MB / 0.9795 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.7147, allocations: 151.8 kB / 0.9797 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.7148, allocations: 0 / 0.9797 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.7149, allocations: 11.98 kB / 0.9797 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.715, allocations: 4 kB / 0.9797 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.715, allocations: 19.91 kB / 0.9797 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006799/0.7157, allocations: 0.6648 MB / 0.9804 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7157, allocations: 0 / 0.9804 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001254/0.717, allocations: 403.8 kB / 0.9808 GB, free: 1.199 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.001158/0.7182, allocations: 478.9 kB / 0.9812 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.7204, allocations: 2.499 MB / 0.9837 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7204, allocations: 3.938 kB / 0.9837 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.7207, allocations: 339.9 kB / 0.984 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.721, allocations: 44.31 kB / 0.984 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.7231, allocations: 1.749 MB / 0.9857 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.7236, allocations: 0.9678 MB / 0.9867 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001648/0.7237, allocations: 32.5 kB / 0.9867 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.7238, allocations: 31.41 kB / 0.9867 GB, free: 11 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.7238, allocations: 0 / 0.9867 GB, free: 11 MB / 0.7481 GB Notification: Performance of Templates: time 0.01616/0.74, allocations: 9.543 MB / 0.9961 GB, free: 1.492 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