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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001331/0.001331, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 469.4 MB / 0.742 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 73.89 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3021, allocations: 159.1 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002968/0.3051, allocations: 1.315 MB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3073, allocations: 1.329 MB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.3073, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.3074, allocations: 8 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3075, allocations: 15.91 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.3087, allocations: 358.9 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.3088, allocations: 39.91 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.3088, allocations: 7.984 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/0.3089, allocations: 15.98 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.3089, allocations: 23.92 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.309, allocations: 0 / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008159/0.3098, allocations: 0.5264 MB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.3098, allocations: 11.98 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.3099, allocations: 19.86 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005353/0.3105, allocations: 347.6 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3105, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.328e-06/0.3105, allocations: 3.984 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3105, allocations: 4 kB / 1.068 GB, free: 10.41 MB / 0.8262 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.0005274/0.311, allocations: 407.4 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3111, allocations: 12.03 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.3111, allocations: 38.75 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.3114, allocations: 36.8 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3116, allocations: 164.4 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3116, allocations: 384 / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3116, allocations: 12.36 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3118, allocations: 65.72 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3118, allocations: 7.938 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3118, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3118, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.312, allocations: 59.94 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.3122, allocations: 177.6 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3124, allocations: 54.55 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.3124, allocations: 24.97 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.313, allocations: 212.9 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.313, allocations: 38.5 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.313, allocations: 4 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002656/0.3133, allocations: 97.59 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3133, allocations: 51.41 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.3134, allocations: 117.8 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3135, allocations: 25.7 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.3135, allocations: 84.14 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.3135, allocations: 19.7 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.3136, allocations: 21.72 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3137, allocations: 322.8 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.3138, allocations: 15.98 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.3138, allocations: 16 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.3139, allocations: 49.14 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3139, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001534/0.3141, allocations: 89.61 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3141, allocations: 4 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3141, allocations: 0 / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3141, allocations: 0 / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3142, allocations: 15.98 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3143, allocations: 7.938 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.3143, allocations: 7.844 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3143, allocations: 4 kB / 1.07 GB, free: 7.938 MB / 0.8262 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.643e-05/0.3144, allocations: 117.8 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.3145, allocations: 11.92 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.315, allocations: 281.9 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.315, allocations: 3.938 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.315, allocations: 0 / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.315, allocations: 8 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3152, allocations: 181.5 kB / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3152, allocations: 0 / 1.07 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.087e-05/0.3153, allocations: 15.94 kB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3153, allocations: 0 / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3153, allocations: 4 kB / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3153, allocations: 64 / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3153, allocations: 7.938 kB / 1.07 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.3155, allocations: 109.1 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.3155, allocations: 88.95 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3156, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.3156, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.3157, allocations: 7.984 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3157, allocations: 4 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.3157, allocations: 87.28 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3157, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003605/0.3161, allocations: 116 kB / 1.071 GB, free: 6.812 MB / 0.8262 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.0008173/0.3169, allocations: 0.7847 MB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.3171, allocations: 47.97 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3171, allocations: 4 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.501e-05/0.3171, allocations: 27.92 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.3174, allocations: 20.92 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.3187, allocations: 1.371 MB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.319, allocations: 0.6961 MB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003617/0.3194, allocations: 270.3 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.3194, allocations: 19.44 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3194, allocations: 0 / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.3415, allocations: 3.983 MB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/7.894, allocations: 17.33 kB / 1.078 GB, free: 15.64 MB / 0.8419 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[380]=2.274000 " 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]