Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CylindricalHeatSource,fileNamePrefix="Buildings_10_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_10_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.005948/0.005948, allocations: 97.12 kB / 15.73 MB, free: 5.949 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.001303/0.001303, allocations: 192.7 kB / 16.67 MB, free: 5.871 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7633/0.7645, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002393/0.767, allocations: 1.313 MB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.7692, allocations: 1.35 MB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.7692, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.7693, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.7694, allocations: 7.922 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.7705, allocations: 366.9 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.7706, allocations: 47.89 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.7707, allocations: 0 / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.7707, allocations: 11.98 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.741e-05/0.7708, allocations: 23.91 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.7708, allocations: 4 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008242/0.7717, allocations: 0.5187 MB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.7717, allocations: 15.97 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.7718, allocations: 19.88 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.7723, allocations: 346.8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7723, allocations: 4 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.897e-06/0.7723, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.7723, allocations: 3.938 kB / 1.17 GB, free: 15.76 MB / 0.9044 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.0005751/0.7729, allocations: 418.6 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.773, allocations: 12.88 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.773, allocations: 34.73 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.7733, allocations: 32.91 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.7735, allocations: 180.3 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.7735, allocations: 384 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.7735, allocations: 8.375 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.7737, allocations: 65.72 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.7737, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.7737, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.7737, allocations: 8 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.7739, allocations: 55.88 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.7741, allocations: 177.7 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.7743, allocations: 54.56 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.7743, allocations: 28.97 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005369/0.7749, allocations: 201 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.7749, allocations: 42.5 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.7749, allocations: 0 / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0002854/0.7752, allocations: 101.5 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.7753, allocations: 55.41 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.7754, allocations: 109.8 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.7754, allocations: 25.7 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.7754, allocations: 88.12 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.7755, allocations: 19.86 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.7755, allocations: 25.72 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7757, allocations: 318.8 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.7757, allocations: 19.98 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.7758, allocations: 11.98 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.136e-05/0.7759, allocations: 48.84 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7759, allocations: 0 / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001425/0.776, allocations: 81.55 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.776, allocations: 8 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7761, allocations: 4 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.7761, allocations: 3.984 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.7762, allocations: 8 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7762, allocations: 4 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.7763, allocations: 12.33 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.7763, allocations: 4 kB / 1.172 GB, free: 13.29 MB / 0.9044 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.99e-05/0.7764, allocations: 117.8 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.7764, allocations: 3.938 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.7769, allocations: 302.5 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7769, allocations: 7.938 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7769, allocations: 0 / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7769, allocations: 3.984 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.7771, allocations: 173.6 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7771, allocations: 0 / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.7772, allocations: 15.94 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7772, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.7772, allocations: 8 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7772, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.7772, allocations: 3.984 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.7774, allocations: 109 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.7774, allocations: 89 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.7775, allocations: 0 / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.7775, allocations: 0 / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.7775, allocations: 11.98 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.7775, allocations: 4 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.359e-05/0.7776, allocations: 99.7 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7776, allocations: 0 / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004464/0.7781, allocations: 111.7 kB / 1.173 GB, free: 12.15 MB / 0.9044 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.0008141/0.7789, allocations: 0.7849 MB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.7791, allocations: 47.97 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7791, allocations: 4 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.7791, allocations: 35.91 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.7793, allocations: 16.11 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.7807, allocations: 1.381 MB / 1.176 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.7809, allocations: 0.6846 MB / 1.176 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003198/0.7812, allocations: 265.2 kB / 1.176 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.7813, allocations: 23.42 kB / 1.176 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.7813, allocations: 0 / 1.176 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.8033, allocations: 4.027 MB / 1.18 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/8.275, allocations: 11.88 kB / 1.18 GB, free: 4.969 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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[395]=2.364000 " 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]