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.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.CylindricalHeatSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.007104/0.007104, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.00167/0.00167, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.634/2.634, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2709, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002366/0.2734, allocations: 1.323 MB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.2754, allocations: 1.336 MB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.2755, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.2755, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2757, allocations: 19.86 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2767, allocations: 370.6 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.2768, allocations: 43.89 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.2769, allocations: 11.97 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.2769, allocations: 12 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.277, allocations: 23.91 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.277, allocations: 4 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007381/0.2778, allocations: 0.5225 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.2778, allocations: 15.98 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.2779, allocations: 23.86 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.2784, allocations: 343.1 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2784, allocations: 4 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2784, allocations: 0 / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2784, allocations: 4 kB / 1.224 GB, free: 10.57 MB / 0.9825 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.0005099/0.2789, allocations: 418.6 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.279, allocations: 12.03 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.279, allocations: 30.75 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.2793, allocations: 36.86 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2795, allocations: 168.4 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2795, allocations: 4.375 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.2795, allocations: 384 / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.2797, allocations: 65.78 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2797, allocations: 0 / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2797, allocations: 0 / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2797, allocations: 7.938 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2799, allocations: 63.88 kB / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.2801, allocations: 169.6 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.2802, allocations: 58.61 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.2803, allocations: 24.97 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005323/0.2808, allocations: 216.9 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.2808, allocations: 34.5 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.2809, allocations: 0 / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002485/0.2811, allocations: 101.5 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.2812, allocations: 55.41 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.2812, allocations: 109.8 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2813, allocations: 29.7 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.2813, allocations: 84.14 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.2813, allocations: 15.86 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.2814, allocations: 25.7 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.2815, allocations: 314.8 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.2815, allocations: 15.98 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.2816, allocations: 23.98 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.933e-05/0.2817, allocations: 57.14 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2817, allocations: 0 / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001361/0.2818, allocations: 77.61 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2819, allocations: 4 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2819, allocations: 0 / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2819, allocations: 4 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.282, allocations: 12 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.282, allocations: 3.938 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.2821, allocations: 15.88 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.2821, allocations: 4 kB / 1.226 GB, free: 8.098 MB / 0.9825 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.515e-05/0.2822, allocations: 114.4 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.2822, allocations: 7.938 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.2826, allocations: 288.8 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2827, allocations: 4 kB / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2827, allocations: 0 / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2827, allocations: 0 / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.2828, allocations: 181.5 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2828, allocations: 0 / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.2829, allocations: 27.92 kB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2829, allocations: 64 / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2829, allocations: 4 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2829, allocations: 0 / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.283, allocations: 0 / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.2831, allocations: 113.4 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.2832, allocations: 88.98 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.2832, allocations: 4 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/0.2832, allocations: 8 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.2833, allocations: 4 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.2833, allocations: 0 / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.2833, allocations: 91.27 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2833, allocations: 0 / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003604/0.2837, allocations: 115.7 kB / 1.227 GB, free: 6.965 MB / 0.9825 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.0007918/0.2845, allocations: 0.7878 MB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.2847, allocations: 43.97 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2847, allocations: 0 / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.2847, allocations: 35.91 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.285, allocations: 12 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2862, allocations: 1.38 MB / 1.229 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2865, allocations: 0.6846 MB / 1.23 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.2868, allocations: 269.4 kB / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.2869, allocations: 19.44 kB / 1.23 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2869, allocations: 4 kB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.306, allocations: 4.02 MB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.656, allocations: 10.81 kB / 1.234 GB, free: 15.78 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=15.000000 File[392]=2.346000 " Variables in the reference:time,G[1],G[2],G[3],G[4],G[5] Variables in the result:time,G[1],G[2],G[3],G[4],G[5]