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.001747/0.001747, allocations: 108 kB / 15.61 MB, free: 152 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.002078/0.002078, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.596/2.596, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 71.89 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5871/0.5885, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002276/0.5908, allocations: 1.306 MB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.5927, allocations: 1.34 MB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.5927, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.5928, allocations: 3.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.26e-05/0.5929, allocations: 11.88 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008736/0.5938, allocations: 370.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.5939, allocations: 43.91 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.5939, allocations: 7.984 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.5939, allocations: 15.98 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.636e-05/0.594, allocations: 19.92 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.594, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007202/0.5948, allocations: 0.5187 MB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.5948, allocations: 19.97 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.5949, allocations: 19.88 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.5953, allocations: 345.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5953, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5953, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.5953, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 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.0004472/0.5958, allocations: 407.4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5958, allocations: 12.03 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.5958, allocations: 30.75 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.5962, allocations: 36.81 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.5963, allocations: 172.3 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.5963, allocations: 4.375 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.5963, allocations: 4.375 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.5965, allocations: 65.73 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.5965, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.5965, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5965, allocations: 3.938 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.5967, allocations: 63.92 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.5969, allocations: 165.7 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.597, allocations: 62.61 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.5971, allocations: 28.97 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/0.5976, allocations: 209 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.5976, allocations: 42.44 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.5976, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002455/0.5979, allocations: 97.56 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.5979, allocations: 51.41 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.598, allocations: 113.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.598, allocations: 29.7 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.5981, allocations: 84.14 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.5981, allocations: 19.73 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.5982, allocations: 29.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.5983, allocations: 314.8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.5983, allocations: 15.98 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.5984, allocations: 23.92 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.351e-05/0.5984, allocations: 48.77 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5985, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00014/0.5986, allocations: 89.5 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5986, allocations: 4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.5986, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5987, allocations: 4 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.5988, allocations: 16 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5988, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.5988, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5988, allocations: 4 kB / 1.024 GB, free: 11.97 MB / 0.7794 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 7.532e-05/0.5989, allocations: 121.8 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.5989, allocations: 11.84 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.5994, allocations: 285.8 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.5995, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5995, allocations: 4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5995, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.5996, allocations: 173.5 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5996, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.5997, allocations: 23.92 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5997, allocations: 4 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5997, allocations: 3.938 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5997, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5997, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.5999, allocations: 117 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.5999, allocations: 81.05 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.6, allocations: 3.984 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.6, allocations: 11.98 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.6001, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.6001, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.6001, allocations: 91.27 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6001, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003284/0.6005, allocations: 112 kB / 1.025 GB, free: 10.84 MB / 0.7794 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.0007656/0.6012, allocations: 0.7924 MB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.6014, allocations: 59.91 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6014, allocations: 0 / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.6015, allocations: 32.77 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.6017, allocations: 13.28 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6029, allocations: 1.382 MB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.6032, allocations: 0.6846 MB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003579/0.6035, allocations: 269.8 kB / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.6036, allocations: 19.42 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6036, allocations: 0 / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.6235, allocations: 3.973 MB / 1.032 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.083, allocations: 12.8 kB / 1.032 GB, free: 3.684 MB / 0.7794 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[368]=2.202000 " 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]