Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",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.00704/0.00704, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001593/0.001593, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.252/2.252, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7003/0.7018, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.001562/0.7034, allocations: 0.5684 MB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.7049, allocations: 1.316 MB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.7049, allocations: 5.125 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.7049, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.183e-06/0.7049, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.7054, allocations: 107.7 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.7055, allocations: 6.109 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.7055, allocations: 2.141 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.7055, allocations: 2.594 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.308e-05/0.7056, allocations: 10.94 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.7056, allocations: 0 / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.7059, allocations: 116.3 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.7059, allocations: 9.5 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.7059, allocations: 1.703 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.7061, allocations: 80.42 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7061, allocations: 1.062 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7061, allocations: 0 / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.7061, allocations: 0 / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002869/0.7064, allocations: 336.1 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.7065, allocations: 9.594 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.7065, allocations: 36.84 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.7066, allocations: 11.05 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.27e-05/0.7067, allocations: 166.2 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.7067, allocations: 1.375 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.7067, allocations: 2.594 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.415e-05/0.7068, allocations: 44.19 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.7068, allocations: 0 / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.7069, allocations: 0.5625 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.7069, allocations: 5.062 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.7069, allocations: 12.84 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.707, allocations: 157.2 kB / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.7072, allocations: 44.56 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.7072, allocations: 24.16 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005513/0.7078, allocations: 1.484 MB / 1.092 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.7078, allocations: 40.27 kB / 1.092 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.7079, allocations: 0 / 1.092 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4): time 0.0001679/0.708, allocations: 65.08 kB / 1.092 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7081, allocations: 52.62 kB / 1.092 GB, free: 17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.184e-05/0.7081, allocations: 90.56 kB / 1.092 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.7081, allocations: 25.7 kB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.7082, allocations: 81.02 kB / 1.092 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.7082, allocations: 15.48 kB / 1.092 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.7082, allocations: 17.95 kB / 1.092 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7083, allocations: 321 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.7084, allocations: 6.078 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.7084, allocations: 9.703 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.7085, allocations: 29.92 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7085, allocations: 0 / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.791e-05/0.7086, allocations: 54.38 kB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.7086, allocations: 8.938 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.7086, allocations: 0 / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7086, allocations: 5.609 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.7087, allocations: 12.81 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7087, allocations: 0.7031 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.7087, allocations: 1.062 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.7087, allocations: 7.016 kB / 1.093 GB, free: 16.36 MB / 0.8731 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 (5): * Single equations (assignments): 5 * 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 6.611e-05/0.7088, allocations: 107 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.7088, allocations: 5.641 kB / 1.093 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.709, allocations: 79.28 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.709, allocations: 1.031 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.709, allocations: 4 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.709, allocations: 1.516 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.7091, allocations: 163.4 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7091, allocations: 0.5625 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.298e-05/0.7092, allocations: 9.5 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.7092, allocations: 5 kB / 1.093 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.7092, allocations: 2.062 kB / 1.093 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7092, allocations: 0 / 1.093 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7092, allocations: 3.938 kB / 1.093 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.7093, allocations: 108.4 kB / 1.093 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.7094, allocations: 82.61 kB / 1.093 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.7094, allocations: 1.734 kB / 1.093 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.7094, allocations: 1.734 kB / 1.093 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.7095, allocations: 3.812 kB / 1.093 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.7095, allocations: 1.375 kB / 1.093 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 2.609e-05/0.7095, allocations: 75.28 kB / 1.093 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7095, allocations: 1.219 kB / 1.093 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002388/0.7098, allocations: 29.39 kB / 1.093 GB, free: 15.7 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * 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 (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 Backend phase and start with SimCode phase: time 0.0005671/0.7103, allocations: 0.6964 MB / 1.094 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.7104, allocations: 24.47 kB / 1.094 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7105, allocations: 0.875 kB / 1.094 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.7105, allocations: 29.75 kB / 1.094 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.7107, allocations: 7.906 kB / 1.094 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.7116, allocations: 1.124 MB / 1.095 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.7119, allocations: 0.6774 MB / 1.096 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.7119, allocations: 7.656 kB / 1.096 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.7119, allocations: 15.77 kB / 1.096 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.7119, allocations: 0 / 1.096 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.7313, allocations: 1.849 MB / 1.098 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/8.084, allocations: 15.95 kB / 1.098 GB, free: 12.83 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches