Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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.001277/0.001277, allocations: 102.6 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.001355/0.001355, 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.412/1.412, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.122/3.122, allocations: 0.505 GB / 0.8066 GB, free: 23.12 MB / 0.6231 GB " [Timeout remaining time 177] 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.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.002218/0.002218, allocations: 70.27 kB / 1.172 GB, free: 17.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3208, allocations: 180.2 MB / 1.348 GB, free: 9.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001953/0.3228, allocations: 0.5853 MB / 1.348 GB, free: 9.395 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3252, allocations: 1.634 MB / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.3252, allocations: 8 kB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.3253, allocations: 3.938 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.3253, allocations: 0 / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.326, allocations: 199.4 kB / 1.35 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.711e-05/0.326, allocations: 19.98 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.3261, allocations: 7.984 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.3261, allocations: 3.984 kB / 1.35 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.3262, allocations: 15.92 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3262, allocations: 4 kB / 1.35 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.3267, allocations: 283.5 kB / 1.351 GB, free: 7.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.3268, allocations: 8 kB / 1.351 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.3268, allocations: 7.922 kB / 1.351 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.3271, allocations: 171.7 kB / 1.351 GB, free: 7.023 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3271, allocations: 0 / 1.351 GB, free: 7.023 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3271, allocations: 0 / 1.351 GB, free: 7.023 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3271, allocations: 0 / 1.351 GB, free: 7.023 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004325/0.3275, allocations: 371.1 kB / 1.351 GB, free: 6.613 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3275, allocations: 11.97 kB / 1.351 GB, free: 6.602 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.3276, allocations: 34.75 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007868/0.3284, allocations: 76.81 kB / 1.351 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3285, allocations: 168.4 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3285, allocations: 384 / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.3285, allocations: 8.375 kB / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.3287, allocations: 89.66 kB / 1.351 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3287, allocations: 0 / 1.351 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3287, allocations: 7.938 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3287, allocations: 0 / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.329, allocations: 79.88 kB / 1.352 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.3292, allocations: 193.6 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3294, allocations: 82.5 kB / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.842e-05/0.3295, allocations: 44.95 kB / 1.352 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3295, allocations: 4 kB / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3295, allocations: 34.5 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.3295, allocations: 3.938 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0003715/0.3299, allocations: 141.6 kB / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.3299, allocations: 51.41 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.33, allocations: 101.8 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.33, allocations: 29.7 kB / 1.352 GB, free: 5.316 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.3301, allocations: 84.14 kB / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.3301, allocations: 19.84 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.3302, allocations: 21.69 kB / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3303, allocations: 318.8 kB / 1.353 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.3304, allocations: 35.95 kB / 1.353 GB, free: 4.828 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.3305, allocations: 23.97 kB / 1.353 GB, free: 4.805 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3306, allocations: 81.38 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3306, allocations: 0 / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002286/0.3308, allocations: 121.5 kB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3309, allocations: 11.94 kB / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3309, allocations: 0 / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3309, allocations: 0 / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.3311, allocations: 23.97 kB / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3311, allocations: 0 / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3312, allocations: 0 / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.3312, allocations: 7.984 kB / 1.353 GB, free: 4.555 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 (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 9.765e-05/0.3313, allocations: 117.8 kB / 1.353 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.3313, allocations: 11.89 kB / 1.353 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.3318, allocations: 213.1 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3318, allocations: 4 kB / 1.353 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3318, allocations: 3.984 kB / 1.353 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3318, allocations: 0 / 1.353 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.332, allocations: 209.5 kB / 1.353 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.332, allocations: 4 kB / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.3321, allocations: 31.86 kB / 1.353 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3321, allocations: 4 kB / 1.353 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3322, allocations: 8 kB / 1.353 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3322, allocations: 0 / 1.353 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.3322, allocations: 3.984 kB / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3324, allocations: 187.1 kB / 1.354 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.3325, allocations: 92.94 kB / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3325, allocations: 0 / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.3326, allocations: 12 kB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.3326, allocations: 11.98 kB / 1.354 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3327, allocations: 4 kB / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.3327, allocations: 87.27 kB / 1.354 GB, free: 3.465 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3327, allocations: 0 / 1.354 GB, free: 3.465 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000302/0.333, allocations: 67.81 kB / 1.354 GB, free: 3.398 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.0008903/0.3339, allocations: 0.8218 MB / 1.355 GB, free: 2.547 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3341, allocations: 99.86 kB / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3341, allocations: 4 kB / 1.355 GB, free: 2.445 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3342, allocations: 63.91 kB / 1.355 GB, free: 2.383 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.3344, allocations: 4 kB / 1.355 GB, free: 2.379 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.3351, allocations: 278.2 kB / 1.355 GB, free: 2.066 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3354, allocations: 0.6924 MB / 1.356 GB, free: 1.348 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.226e-05/0.3355, allocations: 24.3 kB / 1.356 GB, free: 1.324 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.225e-05/0.3356, allocations: 31.41 kB / 1.356 GB, free: 1.293 MB / 1.045 GB Notification: Performance of SimCode: time 2.4e-07/0.3356, allocations: 0 / 1.356 GB, free: 1.293 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.3637, allocations: 3.679 MB / 1.359 GB, free: 13.81 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.266, allocations: 13 kB / 1.359 GB, free: 13.8 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005996 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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: 14.733589898096398]