Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.FiniteLineSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hRea.1|1.|hRea.1|2.|hRea.1|3.|hRea.1|4.|hRea.1|5.|hRea.1|6.|hRea.1|7.|hRea.2|1.|hRea.2|2.|hRea.2|3.|hRea.2|4.|hRea.2|5.|hRea.2|6.|hRea.2|7.|hMir.1|1.|hMir.1|2.|hMir.1|3.|hMir.1|4.|hMir.1|5.|hMir.1|6.|hMir.1|7.|hMir.2|1.|hMir.2|2.|hMir.2|3.|hMir.2|4.|hMir.2|5.|hMir.2|6.|hMir.2|7.|h.1|1.|h.1|2.|h.1|3.|h.1|4.|h.1|5.|h.1|6.|h.1|7.|h.2|1.|h.2|2.|h.2|3.|h.2|4.|h.2|5.|h.2|6.|h.2|7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hRea.1|1.|hRea.1|2.|hRea.1|3.|hRea.1|4.|hRea.1|5.|hRea.1|6.|hRea.1|7.|hRea.2|1.|hRea.2|2.|hRea.2|3.|hRea.2|4.|hRea.2|5.|hRea.2|6.|hRea.2|7.|hMir.1|1.|hMir.1|2.|hMir.1|3.|hMir.1|4.|hMir.1|5.|hMir.1|6.|hMir.1|7.|hMir.2|1.|hMir.2|2.|hMir.2|3.|hMir.2|4.|hMir.2|5.|hMir.2|6.|hMir.2|7.|h.1|1.|h.1|2.|h.1|3.|h.1|4.|h.1|5.|h.1|6.|h.1|7.|h.2|1.|h.2|2.|h.2|3.|h.2|4.|h.2|5.|h.2|6.|h.2|7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001491/0.001491, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 482.3 MB / 0.7543 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 65.34 kB / 0.9234 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3006, allocations: 162.2 MB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.00242/0.3031, allocations: 1.426 MB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3051, allocations: 1.316 MB / 1.084 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.3051, allocations: 7.938 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.3052, allocations: 3.984 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.3053, allocations: 19.91 kB / 1.084 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009131/0.3062, allocations: 323.4 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.3066, allocations: 376.6 kB / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.3067, allocations: 4.281 kB / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3068, allocations: 119.9 kB / 1.085 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.307, allocations: 195.7 kB / 1.085 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.3071, allocations: 23.94 kB / 1.085 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007834/0.3078, allocations: 0.4993 MB / 1.086 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.308, allocations: 103.8 kB / 1.086 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.3081, allocations: 111.5 kB / 1.086 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006718/0.3088, allocations: 0.5495 MB / 1.087 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3088, allocations: 0 / 1.087 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3088, allocations: 0 / 1.087 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3088, allocations: 0 / 1.087 GB, free: 8.555 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008618/0.3097, allocations: 0.5417 MB / 1.087 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3097, allocations: 8.031 kB / 1.087 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.3098, allocations: 20.75 kB / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.31, allocations: 188 kB / 1.087 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.31, allocations: 12.38 kB / 1.087 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.3101, allocations: 16.38 kB / 1.087 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.3107, allocations: 337.5 kB / 1.088 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3107, allocations: 0 / 1.088 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.3107, allocations: 11.98 kB / 1.088 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3108, allocations: 4 kB / 1.088 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004616/0.3154, allocations: 2.926 MB / 1.091 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.316, allocations: 393 kB / 1.091 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/0.3169, allocations: 0.5026 MB / 1.092 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.3173, allocations: 236.7 kB / 1.092 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/0.3189, allocations: 0.9274 MB / 1.093 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.3189, allocations: 39.58 kB / 1.093 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 1.533e-06/0.3189, allocations: 0 / 1.093 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.00145/0.3204, allocations: 0.7586 MB / 1.093 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.3204, allocations: 63.28 kB / 1.094 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3206, allocations: 143.9 kB / 1.094 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.3206, allocations: 29.7 kB / 1.094 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.3207, allocations: 97.14 kB / 1.094 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.3209, allocations: 153.8 kB / 1.094 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.321, allocations: 93.69 kB / 1.094 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3212, allocations: 330.8 kB / 1.094 GB, free: 392 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.3216, allocations: 211.8 kB / 1.095 GB, free: 180 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.322, allocations: 207.9 kB / 1.095 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.3228, allocations: 498.5 kB / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3228, allocations: 0 / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009252/0.3237, allocations: 0.5479 MB / 1.096 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3237, allocations: 7.938 kB / 1.096 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3237, allocations: 0 / 1.096 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3238, allocations: 4 kB / 1.096 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.3241, allocations: 91.89 kB / 1.096 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3241, allocations: 4 kB / 1.096 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.3242, allocations: 27.69 kB / 1.096 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.3242, allocations: 23.98 kB / 1.096 GB, free: 14.77 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001623/0.3244, allocations: 157.8 kB / 1.096 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.3244, allocations: 31.66 kB / 1.096 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.3261, allocations: 0.89 MB / 1.097 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3261, allocations: 4 kB / 1.097 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3261, allocations: 0 / 1.097 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3261, allocations: 3.984 kB / 1.097 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.3266, allocations: 405.1 kB / 1.097 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3266, allocations: 3.984 kB / 1.097 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.3269, allocations: 99.83 kB / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.3269, allocations: 7.938 kB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.327, allocations: 16 kB / 1.097 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.327, allocations: 4 kB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.327, allocations: 0 / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.3279, allocations: 0.5964 MB / 1.098 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.328, allocations: 104.7 kB / 1.098 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.3281, allocations: 8 kB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.3281, allocations: 4 kB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.3282, allocations: 43.89 kB / 1.098 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.3283, allocations: 24 kB / 1.098 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8e-05/0.3283, allocations: 113.5 kB / 1.098 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3283, allocations: 0 / 1.098 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004873/0.3288, allocations: 184 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.00054/0.3294, allocations: 255 kB / 1.099 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.3305, allocations: 0.7418 MB / 1.099 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3305, allocations: 0 / 1.099 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.331, allocations: 283.6 kB / 1.1 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.3313, allocations: 51.91 kB / 1.1 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.3322, allocations: 0.6647 MB / 1.1 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3326, allocations: 0.7485 MB / 1.101 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005447/0.3332, allocations: 345.9 kB / 1.101 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3333, allocations: 59.41 kB / 1.102 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.3333, allocations: 0 / 1.102 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of Templates: time 0.009928/0.3433, allocations: 5.615 MB / 1.107 GB, free: 3.363 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches