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_Integrand_Length.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.001923/0.001923, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002212/0.002212, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.331/3.331, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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.002317/0.002317, allocations: 76.19 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3459, allocations: 180.2 MB / 1.348 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002672/0.3485, allocations: 1.389 MB / 1.349 GB, free: 8.551 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3501, allocations: 0.8269 MB / 1.35 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.3501, allocations: 0 / 1.35 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.3501, allocations: 7.984 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.3502, allocations: 7.875 kB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.3508, allocations: 175.5 kB / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.253e-05/0.3509, allocations: 43.91 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.351, allocations: 7.938 kB / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.351, allocations: 27.84 kB / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.3511, allocations: 27.91 kB / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3511, allocations: 4 kB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004652/0.3515, allocations: 195.7 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.3516, allocations: 11.94 kB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.3516, allocations: 15.92 kB / 1.351 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.3519, allocations: 143.5 kB / 1.351 GB, free: 7.062 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3519, allocations: 0 / 1.351 GB, free: 7.062 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3519, allocations: 0 / 1.351 GB, free: 7.062 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3519, allocations: 0 / 1.351 GB, free: 7.062 MB / 1.045 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.0004807/0.3524, allocations: 379 kB / 1.351 GB, free: 6.645 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3524, allocations: 8.031 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.3525, allocations: 34.75 kB / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.3525, allocations: 8.891 kB / 1.351 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.3526, allocations: 176.3 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3526, allocations: 384 / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3526, allocations: 384 / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3528, allocations: 65.8 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3528, allocations: 0 / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3528, allocations: 0 / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3528, allocations: 0 / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3529, allocations: 43.95 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.3531, allocations: 181.6 kB / 1.351 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3533, allocations: 50.5 kB / 1.352 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.3533, allocations: 20.97 kB / 1.352 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3533, allocations: 0 / 1.352 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.3534, allocations: 38.5 kB / 1.352 GB, free: 5.906 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 9.81e-07/0.3534, allocations: 0 / 1.352 GB, free: 5.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0002509/0.3536, allocations: 85.62 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3537, allocations: 59.34 kB / 1.352 GB, free: 5.746 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3538, allocations: 109.8 kB / 1.352 GB, free: 5.629 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3538, allocations: 25.7 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.3538, allocations: 84.14 kB / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.3539, allocations: 19.84 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3539, allocations: 21.72 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3541, allocations: 318.8 kB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.3541, allocations: 15.94 kB / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.3541, allocations: 15.98 kB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.986e-05/0.3542, allocations: 32.86 kB / 1.352 GB, free: 5.078 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3542, allocations: 0 / 1.352 GB, free: 5.078 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001438/0.3544, allocations: 77.58 kB / 1.352 GB, free: 4.996 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3544, allocations: 11.92 kB / 1.352 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3544, allocations: 448 / 1.352 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3544, allocations: 0 / 1.352 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3545, allocations: 12 kB / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3545, allocations: 0 / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.3546, allocations: 16 kB / 1.352 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3546, allocations: 3.984 kB / 1.352 GB, free: 4.953 MB / 1.045 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.164e-05/0.3547, allocations: 113.8 kB / 1.353 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.3547, allocations: 3.938 kB / 1.353 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.3551, allocations: 214 kB / 1.353 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3551, allocations: 3.984 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3551, allocations: 0 / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3551, allocations: 0 / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.3553, allocations: 197.6 kB / 1.353 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3553, allocations: 3.938 kB / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3554, allocations: 27.98 kB / 1.353 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3554, allocations: 0 / 1.353 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3555, allocations: 4 kB / 1.353 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3555, allocations: 0 / 1.353 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3555, allocations: 4 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.3557, allocations: 156.9 kB / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.3558, allocations: 89.05 kB / 1.353 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3558, allocations: 4 kB / 1.353 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.735e-05/0.3558, allocations: 11.92 kB / 1.353 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.3559, allocations: 15.97 kB / 1.353 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3559, allocations: 4 kB / 1.353 GB, free: 4.027 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.3559, allocations: 91.28 kB / 1.353 GB, free: 3.938 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3559, allocations: 0 / 1.353 GB, free: 3.938 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002979/0.3562, allocations: 59.8 kB / 1.353 GB, free: 3.879 MB / 1.045 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 (16): * Single equations (assignments): 16 * 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.0007978/0.357, allocations: 0.7515 MB / 1.354 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.3572, allocations: 59.91 kB / 1.354 GB, free: 3.043 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3572, allocations: 0 / 1.354 GB, free: 3.043 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.3573, allocations: 47.92 kB / 1.354 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3575, allocations: 12.53 kB / 1.354 GB, free: 2.984 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.3582, allocations: 234.8 kB / 1.355 GB, free: 2.711 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.3585, allocations: 0.6924 MB / 1.355 GB, free: 1.992 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.715e-05/0.3586, allocations: 29.62 kB / 1.355 GB, free: 1.969 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.3587, allocations: 34.23 kB / 1.355 GB, free: 1.938 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.3587, allocations: 0 / 1.355 GB, free: 1.938 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.3861, allocations: 3.384 MB / 1.359 GB, free: 14.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.371, allocations: 9.922 kB / 1.359 GB, free: 14.74 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.csv --start-time 0.01 --stop-time 500 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.199996 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.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: 15.254172737943009]