Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.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.TimeGeometric,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",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.001105/0.001105, 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.001141/0.001142, allocations: 193.9 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.613/2.613, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 0.8694 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5976/0.5989, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric): time 0.00285/0.6018, allocations: 1.28 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000374/0.6022, allocations: 127.6 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.6023, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.823e-05/0.6024, allocations: 7.938 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.6024, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.6027, allocations: 31.89 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.488e-05/0.6028, allocations: 11.92 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.6029, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.064e-05/0.6029, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.6029, allocations: 15.92 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.6029, allocations: 3.938 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.603, allocations: 23.97 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.6031, allocations: 11.98 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.6031, allocations: 7.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.6033, allocations: 42.14 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6033, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6033, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6033, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003785/0.6037, allocations: 332.8 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.6037, allocations: 8.031 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.6038, allocations: 114 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.6039, allocations: 84.12 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.604, allocations: 239.7 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/0.6041, allocations: 150.9 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.6042, allocations: 162.9 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.09e-05/0.6042, allocations: 101.5 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.6043, allocations: 79.22 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/0.6044, allocations: 154.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/0.6044, allocations: 154.6 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.6045, allocations: 158.5 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.6048, allocations: 449.9 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.6049, allocations: 173.1 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.6049, allocations: 84.14 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.605, allocations: 75.28 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.605, allocations: 105.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.605, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.726e-05/0.6051, allocations: 33.58 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.6052, allocations: 130.7 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.6053, allocations: 125.7 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.6053, allocations: 25.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.6054, allocations: 80.14 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.6054, allocations: 3.938 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.6054, allocations: 17.72 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6055, allocations: 310.8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.6056, allocations: 11.98 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/0.6056, allocations: 12 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.6056, allocations: 32.88 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6056, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001185/0.6058, allocations: 53.62 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6058, allocations: 15.92 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6058, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.6058, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.6058, allocations: 3.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6058, allocations: 320 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.6059, allocations: 3.938 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.6059, allocations: 4 kB / 1.022 GB, free: 13.22 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.521e-05/0.606, allocations: 185.2 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.606, allocations: 112.8 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.6061, allocations: 112.4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.969e-05/0.6061, allocations: 176.3 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.119e-05/0.6062, allocations: 184.3 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.655e-05/0.6063, allocations: 188.2 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.6065, allocations: 405.2 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/0.6065, allocations: 104.9 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.6065, allocations: 101 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-05/0.6066, allocations: 188.1 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.6067, allocations: 180.3 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.727e-05/0.6067, allocations: 184.3 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.999e-05/0.6068, allocations: 180.2 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.6069, allocations: 307.8 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.607, allocations: 178.1 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.6071, allocations: 188.2 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.6072, allocations: 109.2 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.6072, allocations: 180.2 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.6073, allocations: 113 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.6073, allocations: 87.27 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.283e-06/0.6073, allocations: 0 / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000255/0.6076, allocations: 19.92 kB / 1.026 GB, free: 9.586 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 (0): * Single equations (assignments): 0 * 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.0004681/0.6081, allocations: 0.8242 MB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.6082, allocations: 8 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6082, allocations: 3.938 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.6082, allocations: 4 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.6086, allocations: 466.8 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009992/0.6096, allocations: 1.345 MB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.6098, allocations: 0.6729 MB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.122e-05/0.6098, allocations: 3.984 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.6099, allocations: 11.44 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6099, allocations: 7.969 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.6282, allocations: 1.366 MB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.913, allocations: 13.92 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches