Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CylindricalHeatSource,fileNamePrefix="Buildings_9_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_9_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.004867/0.004867, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001114/0.001114, allocations: 196 kB / 16.68 MB, free: 5.934 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: 4.312 MB / 190.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.339/2.339, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.06 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2368, allocations: 140.4 MB / 1.088 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002337/0.2392, allocations: 1.311 MB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2412, allocations: 1.342 MB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.2413, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.2414, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.2415, allocations: 7.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.2426, allocations: 376.8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2427, allocations: 39.91 kB / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.2428, allocations: 4 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.2428, allocations: 15.98 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.2429, allocations: 23.91 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.2429, allocations: 3.938 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.2437, allocations: 0.5187 MB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.2437, allocations: 15.98 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.2438, allocations: 23.86 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.2443, allocations: 342.2 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2443, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2443, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2444, allocations: 0 / 1.091 GB, free: 13.96 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.0005256/0.2449, allocations: 420.2 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2449, allocations: 12.03 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.245, allocations: 30.75 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/0.2453, allocations: 40.75 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2455, allocations: 168.4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2455, allocations: 8.375 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.2455, allocations: 384 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2456, allocations: 65.78 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2457, allocations: 3.938 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2457, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2457, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.2459, allocations: 59.94 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.2461, allocations: 173.5 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.2462, allocations: 58.61 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.2463, allocations: 28.97 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/0.2468, allocations: 212.9 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.2469, allocations: 38.5 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.2469, allocations: 3.984 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002812/0.2472, allocations: 97.59 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.2472, allocations: 51.41 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.2473, allocations: 109.8 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.2474, allocations: 29.7 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.2474, allocations: 88.14 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.2475, allocations: 23.7 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.2475, allocations: 21.72 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2477, allocations: 314.8 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.2477, allocations: 15.98 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.293e-05/0.2478, allocations: 20.36 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2479, allocations: 52.77 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2479, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001529/0.248, allocations: 77.61 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2481, allocations: 4 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2481, allocations: 4 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2481, allocations: 0 / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2482, allocations: 19.94 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2482, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.2483, allocations: 15.83 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2483, allocations: 0 / 1.094 GB, free: 11.48 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 0.0001446/0.2485, allocations: 121.7 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.2485, allocations: 7.938 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/0.249, allocations: 280.6 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2491, allocations: 8 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2491, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2491, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.2493, allocations: 173.5 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.86e-06/0.2493, allocations: 8.062 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.2494, allocations: 19.92 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2494, allocations: 4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2494, allocations: 0 / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2494, allocations: 0 / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2494, allocations: 3.938 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.2496, allocations: 109.5 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.2497, allocations: 92.92 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.2497, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.2497, allocations: 8 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2498, allocations: 4 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.2498, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.2498, allocations: 95.33 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2499, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004243/0.2503, allocations: 116 kB / 1.095 GB, free: 10.36 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 (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.0009495/0.2512, allocations: 0.7802 MB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.2514, allocations: 43.97 kB / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2514, allocations: 4 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.2515, allocations: 35.91 kB / 1.095 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.2517, allocations: 15.94 kB / 1.095 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2532, allocations: 1.365 MB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.2535, allocations: 0.6885 MB / 1.097 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003405/0.2539, allocations: 269.2 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.2539, allocations: 19.44 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of SimCode: time 9.02e-07/0.2539, allocations: 0 / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.2755, allocations: 4.013 MB / 1.102 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.854, allocations: 16 kB / 1.102 GB, free: 3.199 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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[378]=2.262000 " 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]