Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002501/0.002501, allocations: 215.5 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.044/3.044, allocations: 0.49 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 65.67 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3661, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource): time 0.002615/0.3687, allocations: 1.341 MB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005682/0.3693, allocations: 211.4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.3693, allocations: 7.938 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.3693, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.3695, allocations: 11.92 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.3698, allocations: 39.89 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.523e-05/0.3699, allocations: 43.89 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.3699, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.3699, allocations: 11.98 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.37, allocations: 23.86 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.37, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3701, allocations: 55.94 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.3702, allocations: 19.98 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.3702, allocations: 7.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3704, allocations: 78.47 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3704, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3704, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3704, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005403/0.3709, allocations: 278.1 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.371, allocations: 12.03 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.371, allocations: 34.75 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.3714, allocations: 24.86 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3715, allocations: 114.5 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3715, allocations: 12.38 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3715, allocations: 384 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3717, allocations: 58.22 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3717, allocations: 3.938 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3717, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3717, allocations: 3.938 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.3719, allocations: 55.92 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.3721, allocations: 144.8 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3722, allocations: 54.55 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.525e-05/0.3723, allocations: 28.95 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.3723, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3723, allocations: 30.56 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.3723, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003351/0.3727, allocations: 105.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3727, allocations: 55.41 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.3728, allocations: 109.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3728, allocations: 25.7 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.3729, allocations: 84.14 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.3729, allocations: 23.78 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3729, allocations: 17.72 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3731, allocations: 322.8 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.3731, allocations: 23.98 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.901e-05/0.3732, allocations: 11.98 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3733, allocations: 57.14 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3733, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002177/0.3735, allocations: 81.61 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3735, allocations: 9.188 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3735, allocations: 3.938 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3736, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3737, allocations: 11.98 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.3737, allocations: 0 / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.3737, allocations: 8 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.3737, allocations: 3.984 kB / 1.329 GB, free: 13.66 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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 9.441e-05/0.3738, allocations: 114.4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.3739, allocations: 15.83 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.3741, allocations: 94 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3741, allocations: 3.938 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3741, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.3741, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3744, allocations: 144.7 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.3744, allocations: 7.984 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.3745, allocations: 8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3745, allocations: 7.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3745, allocations: 7.984 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3745, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3745, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.3748, allocations: 113 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.3748, allocations: 7.938 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3748, allocations: 3.938 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.3748, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.3749, allocations: 7.984 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3749, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.745e-05/0.3749, allocations: 91.27 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3749, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002048/0.3751, allocations: 20 kB / 1.33 GB, free: 12.94 MB / 1.029 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 (7): * Single equations (assignments): 7 * 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.0006213/0.3758, allocations: 0.6715 MB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.3759, allocations: 56.08 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3759, allocations: 4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.376, allocations: 35.91 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.3762, allocations: 12.69 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3777, allocations: 1.337 MB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.091e-05/0.3778, allocations: 67.34 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.379e-05/0.3778, allocations: 28.03 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.3779, allocations: 19.44 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3779, allocations: 0 / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.4056, allocations: 2.927 MB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.17, allocations: 11.69 kB / 1.335 GB, free: 7.852 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.649936214991612]