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.008133/0.008133, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002081/0.002081, allocations: 202.3 kB / 16.68 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.92 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2367, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002688/0.2394, allocations: 1.282 MB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2418, allocations: 1.35 MB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.2418, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.2419, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.2421, allocations: 7.984 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.2433, allocations: 366.9 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.2435, allocations: 43.89 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.2435, allocations: 4 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.2436, allocations: 19.92 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.2437, allocations: 23.97 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.2437, allocations: 0 / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008868/0.2446, allocations: 0.5187 MB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.2446, allocations: 19.91 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.2447, allocations: 15.92 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007109/0.2454, allocations: 351.4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2454, allocations: 3.938 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2454, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2454, allocations: 0 / 1.091 GB, free: 13.92 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.0007242/0.2462, allocations: 418.6 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.2462, allocations: 12.02 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.2463, allocations: 34.75 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.2466, allocations: 36.86 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2468, allocations: 176.2 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2468, allocations: 4.375 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.2469, allocations: 4.359 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.247, allocations: 57.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.247, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.247, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.247, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.2473, allocations: 59.94 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.2475, allocations: 185.6 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.2476, allocations: 58.5 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.2477, allocations: 28.97 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/0.2482, allocations: 205 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2483, allocations: 34.5 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2483, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002721/0.2485, allocations: 93.66 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.2486, allocations: 59.34 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.2487, allocations: 113.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2487, allocations: 29.7 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.2488, allocations: 92.12 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.2488, allocations: 19.8 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.2489, allocations: 21.66 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.249, allocations: 322.8 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/0.249, allocations: 19.98 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.2491, allocations: 15.98 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.792e-05/0.2492, allocations: 44.84 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2492, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001616/0.2493, allocations: 89.5 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2494, allocations: 4 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2494, allocations: 7.984 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2494, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.2495, allocations: 8 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2495, allocations: 4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.2496, allocations: 4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2496, allocations: 448 / 1.094 GB, free: 11.45 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 8.275e-05/0.2497, allocations: 121.8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.2497, allocations: 7.891 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.2502, allocations: 298.9 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2502, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2502, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2502, allocations: 3.984 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.2504, allocations: 173.7 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2504, allocations: 4 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.2505, allocations: 15.94 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2505, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2505, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2505, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2505, allocations: 3.984 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.2507, allocations: 117.4 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.2508, allocations: 84.98 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.2508, allocations: 4 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.2508, allocations: 7.938 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.2509, allocations: 7.984 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.2509, allocations: 4 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.2509, allocations: 99.27 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2509, allocations: 0 / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003753/0.2513, allocations: 107.7 kB / 1.095 GB, free: 10.3 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.0008218/0.2521, allocations: 0.7839 MB / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.2523, allocations: 55.89 kB / 1.095 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2523, allocations: 0 / 1.095 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.912e-05/0.2524, allocations: 27.98 kB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.2526, allocations: 24.11 kB / 1.095 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.2539, allocations: 1.378 MB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2541, allocations: 0.6885 MB / 1.097 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003209/0.2544, allocations: 258.6 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.2545, allocations: 23.42 kB / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2545, allocations: 4 kB / 1.098 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.2739, allocations: 4.009 MB / 1.102 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.755, allocations: 18.52 kB / 1.102 GB, free: 3.133 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[376]=2.250000 " 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]