Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007298/0.007298, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001692/0.001692, allocations: 192 kB / 16.67 MB, free: 5.949 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 59.91 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8757/0.8772, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource): time 0.002332/0.8796, allocations: 1.31 MB / 1.167 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.8801, allocations: 238.7 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.8802, allocations: 0 / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.8802, allocations: 3.938 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.8804, allocations: 15.97 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.8807, allocations: 31.84 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.8808, allocations: 43.91 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.8809, allocations: 7.984 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.811e-05/0.8809, allocations: 15.94 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.881, allocations: 15.97 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.881, allocations: 0 / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.8811, allocations: 55.89 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.8812, allocations: 15.92 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.8812, allocations: 15.92 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.8814, allocations: 59.66 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8814, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8814, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.8814, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 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.000408/0.8818, allocations: 359 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8819, allocations: 12.91 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.8819, allocations: 38.75 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.8823, allocations: 24.91 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.8824, allocations: 172.3 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.8824, allocations: 4.359 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.8825, allocations: 8.312 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.8826, allocations: 58.22 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8826, allocations: 3.938 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.8826, allocations: 0 / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.8827, allocations: 0 / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.8829, allocations: 63.92 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.8831, allocations: 173.7 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.8832, allocations: 62.53 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.124e-05/0.8833, allocations: 28.91 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.8833, allocations: 0 / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.8833, allocations: 30.56 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.8833, allocations: 0 / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0003363/0.8837, allocations: 113.5 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.8837, allocations: 55.41 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.8838, allocations: 113.8 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.8838, allocations: 25.7 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.8839, allocations: 84.14 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.8839, allocations: 19.84 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.8839, allocations: 21.7 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8841, allocations: 314.8 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.8841, allocations: 27.91 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.824e-05/0.8842, allocations: 19.98 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.8843, allocations: 48.83 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8843, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002018/0.8845, allocations: 73.66 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.8845, allocations: 7.938 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8845, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.8846, allocations: 4 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.8847, allocations: 15.92 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.8847, allocations: 3.938 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.8847, allocations: 8.328 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.8848, allocations: 8 kB / 1.17 GB, free: 15.73 MB / 0.9044 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 8.883e-05/0.8848, allocations: 117.8 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.8849, allocations: 3.938 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.8852, allocations: 94.31 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8852, allocations: 4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.8852, allocations: 7.984 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8852, allocations: 0 / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.8853, allocations: 173.7 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8853, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/0.8854, allocations: 19.92 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8854, allocations: 3.938 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.8855, allocations: 4 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8855, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8855, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.8857, allocations: 117.1 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.8857, allocations: 89.05 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.8858, allocations: 7.938 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.8858, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.8858, allocations: 7.984 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.8858, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.8859, allocations: 91.27 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8859, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002067/0.8861, allocations: 23.94 kB / 1.171 GB, free: 14.88 MB / 0.9044 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.0005465/0.8867, allocations: 0.6669 MB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.8868, allocations: 55.89 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8869, allocations: 0 / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.8869, allocations: 23.98 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.8871, allocations: 22.33 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.8885, allocations: 1.33 MB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.8887, allocations: 0.6884 MB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.691e-05/0.8888, allocations: 28.5 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.8888, allocations: 19.42 kB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/0.8889, allocations: 0 / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.9059, allocations: 2.331 MB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/8.536, allocations: 4.812 kB / 1.176 GB, free: 9.801 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches