Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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.006756/0.006756, allocations: 100.1 kB / 15.73 MB, free: 6.055 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.001681/0.001681, allocations: 190.2 kB / 16.67 MB, free: 5.969 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.89 kB / 0.9505 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7396/0.7409, allocations: 140.4 MB / 1.088 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002128/0.7431, allocations: 1.365 MB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.7443, allocations: 0.7859 MB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.7443, allocations: 1.094 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.7444, allocations: 4.969 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.7444, allocations: 5.562 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.745, allocations: 182.9 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.7451, allocations: 50.14 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.7451, allocations: 4.625 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.7452, allocations: 21.5 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.7453, allocations: 29.78 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.7453, allocations: 3.281 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.7457, allocations: 173.5 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.7457, allocations: 13.22 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.7457, allocations: 17.84 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.746, allocations: 139.5 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7461, allocations: 9.094 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7461, allocations: 0 / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.7461, allocations: 0.7031 kB / 1.09 GB, free: 3.395 MB / 0.8575 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.0003771/0.7465, allocations: 367.6 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7465, allocations: 9.844 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.7465, allocations: 32.52 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.7466, allocations: 7.172 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.7467, allocations: 172.6 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.7467, allocations: 1.719 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.7467, allocations: 5.719 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.7468, allocations: 58.17 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7468, allocations: 0 / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.7468, allocations: 1.125 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7469, allocations: 1.312 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.747, allocations: 43.8 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.7471, allocations: 181.2 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.7472, allocations: 53.44 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.7473, allocations: 22.38 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.7473, allocations: 9.797 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.7473, allocations: 36.42 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.7473, allocations: 0 / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002404/0.7476, allocations: 78.55 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.7476, allocations: 56.22 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.7477, allocations: 105 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.7477, allocations: 31.62 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.7477, allocations: 85.75 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.7478, allocations: 24.14 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.7478, allocations: 23.45 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.7479, allocations: 314.1 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.7479, allocations: 13.5 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.748, allocations: 14.98 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.525e-05/0.748, allocations: 35.47 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.748, allocations: 0.9062 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001304/0.7482, allocations: 80.03 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7482, allocations: 8.875 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7482, allocations: 1.609 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7482, allocations: 0.8438 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.7483, allocations: 13.28 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7484, allocations: 0.7188 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.7484, allocations: 0.7812 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.7484, allocations: 9.484 kB / 1.092 GB, free: 1.656 MB / 0.8575 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 5.477e-05/0.7485, allocations: 108 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.7485, allocations: 13.45 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.7489, allocations: 205.9 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.7489, allocations: 1.5 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7489, allocations: 5.578 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.749, allocations: 4.797 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.7491, allocations: 199 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7491, allocations: 4.594 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.7492, allocations: 26.67 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.7492, allocations: 1.625 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.7492, allocations: 6.859 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7492, allocations: 1.484 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7493, allocations: 0.6562 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.7495, allocations: 153.6 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.7495, allocations: 84.77 kB / 1.093 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.7495, allocations: 5.766 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.409e-05/0.7496, allocations: 0.9375 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.7496, allocations: 14.78 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.7496, allocations: 4.797 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.7496, allocations: 87.28 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7496, allocations: 0 / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003022/0.7499, allocations: 54.89 kB / 1.093 GB, free: 0.9297 MB / 0.8575 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 (16): * Single equations (assignments): 16 * 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.0006863/0.7506, allocations: 0.7613 MB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.7508, allocations: 51.2 kB / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.7508, allocations: 0.7812 kB / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.7509, allocations: 53.3 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.7512, allocations: 15.94 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.7517, allocations: 221.4 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.752, allocations: 0.6957 MB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.32e-05/0.752, allocations: 26.53 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.7521, allocations: 33.95 kB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of SimCode: time 7.11e-07/0.7521, allocations: 0 / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.7716, allocations: 3.309 MB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/8.266, allocations: 9.094 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.csv --start-time 0.01 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.199996 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches