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.001671/0.001672, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.002/0.002, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.172/2.172, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 65.56 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2842, allocations: 140.4 MB / 0.9503 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00295/0.2872, allocations: 1.406 MB / 0.9517 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004744/0.2919, allocations: 3.026 MB / 0.9546 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.2921, allocations: 0 / 0.9546 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.2922, allocations: 11.86 kB / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.2925, allocations: 31.84 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.2954, allocations: 1.002 MB / 0.9557 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.2955, allocations: 71.83 kB / 0.9557 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.2956, allocations: 7.938 kB / 0.9557 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.2957, allocations: 47.77 kB / 0.9558 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.2959, allocations: 143.6 kB / 0.9559 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.578e-05/0.296, allocations: 16 kB / 0.9559 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.2982, allocations: 1.377 MB / 0.9573 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.2984, allocations: 263.9 kB / 0.9575 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.2987, allocations: 278.3 kB / 0.9578 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.301, allocations: 1.457 MB / 0.9592 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3011, allocations: 7.938 kB / 0.9592 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3011, allocations: 3.938 kB / 0.9592 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.3011, allocations: 0 / 0.9592 GB, free: 15.66 MB / 0.7481 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.01024/0.3113, allocations: 1.214 MB / 0.9604 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3114, allocations: 8.031 kB / 0.9604 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/0.3118, allocations: 83.69 kB / 0.9605 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.3123, allocations: 356.9 kB / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3123, allocations: 4.375 kB / 0.9609 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.3124, allocations: 8.375 kB / 0.9609 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.3128, allocations: 399.5 kB / 0.9612 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3129, allocations: 0 / 0.9612 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3129, allocations: 0 / 0.9612 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3129, allocations: 4 kB / 0.9612 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.3133, allocations: 435.7 kB / 0.9617 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.314, allocations: 0.6326 MB / 0.9623 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.3145, allocations: 0.5594 MB / 0.9628 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.3148, allocations: 337.7 kB / 0.9631 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.3159, allocations: 1.036 MB / 0.9642 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.3163, allocations: 404.8 kB / 0.9645 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 3.086e-06/0.3163, allocations: 0 / 0.9645 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001313/0.3177, allocations: 1.297 MB / 0.9658 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.3177, allocations: 81.05 kB / 0.9659 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3189, allocations: 1.202 MB / 0.9671 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.319, allocations: 37.69 kB / 0.9671 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.3192, allocations: 257.3 kB / 0.9673 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.3192, allocations: 23.73 kB / 0.9674 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/0.3196, allocations: 355.7 kB / 0.9677 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3197, allocations: 310 kB / 0.968 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.3209, allocations: 1.361 MB / 0.9693 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.3222, allocations: 1.489 MB / 0.9708 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007087/0.3292, allocations: 3.541 MB / 0.9742 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.3293, allocations: 0 / 0.9742 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004427/0.3337, allocations: 3.969 MB / 0.9781 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3338, allocations: 4 kB / 0.9781 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.3338, allocations: 0 / 0.9781 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3338, allocations: 4 kB / 0.9781 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.334, allocations: 19.92 kB / 0.9781 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.334, allocations: 4.031 kB / 0.9781 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.3345, allocations: 228.3 kB / 0.9784 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.3346, allocations: 23.98 kB / 0.9784 GB, free: 11.41 MB / 0.7637 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.0003087/0.3349, allocations: 237.6 kB / 0.9786 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.335, allocations: 70.72 kB / 0.9787 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.3354, allocations: 82.77 kB / 0.9788 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.3354, allocations: 4 kB / 0.9788 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3354, allocations: 0 / 0.9788 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3354, allocations: 0 / 0.9788 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.3358, allocations: 492.8 kB / 0.9792 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3359, allocations: 4 kB / 0.9792 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.3359, allocations: 15.92 kB / 0.9793 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.336, allocations: 0 / 0.9793 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.336, allocations: 7.984 kB / 0.9793 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.336, allocations: 0 / 0.9793 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.336, allocations: 7.969 kB / 0.9793 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/0.3369, allocations: 1.001 MB / 0.9802 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.3371, allocations: 159.8 kB / 0.9804 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.3371, allocations: 0 / 0.9804 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3373, allocations: 11.98 kB / 0.9804 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.3373, allocations: 4 kB / 0.9804 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.3374, allocations: 15.97 kB / 0.9804 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007327/0.3381, allocations: 0.6648 MB / 0.9811 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3381, allocations: 0 / 0.9811 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001136/0.3393, allocations: 395.9 kB / 0.9815 GB, free: 8.148 MB / 0.7637 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.001604/0.3409, allocations: 488 kB / 0.9819 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.3432, allocations: 2.495 MB / 0.9844 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3432, allocations: 0 / 0.9844 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.3436, allocations: 343.8 kB / 0.9847 GB, free: 4.828 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3439, allocations: 43 kB / 0.9847 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.3462, allocations: 1.797 MB / 0.9865 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.3468, allocations: 0.9639 MB / 0.9874 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.3469, allocations: 31.41 kB / 0.9875 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of SimCode: time 8.51e-07/0.3469, allocations: 0 / 0.9875 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of Templates: time 0.01794/0.3649, allocations: 10.54 MB / 0.9977 GB, free: 7.391 MB / 0.7794 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/jenkins1/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