Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.Validation.Cylindrical,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.001575/0.001575, 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.001857/0.001857, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.806/2.806, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 60.09 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5737/0.5752, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003612/0.5789, allocations: 2.245 MB / 1.02 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.5821, allocations: 2.404 MB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.5823, allocations: 7.938 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.584, allocations: 486 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.5842, allocations: 91.36 kB / 1.023 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.5845, allocations: 103.9 kB / 1.023 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008543/0.5854, allocations: 0.846 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.5855, allocations: 44.28 kB / 1.024 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.586, allocations: 275.5 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005278/0.5865, allocations: 335.2 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.5867, allocations: 52 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.5868, allocations: 56 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.587, allocations: 219.5 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.5875, allocations: 286.9 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.5882, allocations: 0.7321 MB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5882, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5882, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.5882, allocations: 0 / 1.025 GB, free: 10.44 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002716/0.5909, allocations: 0.9292 MB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.591, allocations: 12.03 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.5911, allocations: 46.73 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.5912, allocations: 44.47 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.5928, allocations: 0.5184 MB / 1.027 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.5928, allocations: 24.38 kB / 1.027 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/0.5929, allocations: 36.38 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.5933, allocations: 209.4 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.5933, allocations: 0 / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.5934, allocations: 8 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.5934, allocations: 4 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.5937, allocations: 175.9 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.5987, allocations: 1.432 MB / 1.029 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.6005, allocations: 0.5891 MB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.6007, allocations: 144.8 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.6007, allocations: 0 / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.6008, allocations: 38.56 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.6008, allocations: 0 / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001079/0.6019, allocations: 0.5547 MB / 1.03 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.6019, allocations: 51.41 kB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.6023, allocations: 405.3 kB / 1.03 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.6023, allocations: 37.7 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.6025, allocations: 157.2 kB / 1.031 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.6027, allocations: 90.66 kB / 1.031 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.603, allocations: 154.3 kB / 1.031 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6031, allocations: 350.8 kB / 1.031 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.6037, allocations: 341.1 kB / 1.032 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.6043, allocations: 397.5 kB / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008852/0.6052, allocations: 0.5723 MB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6052, allocations: 0 / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001738/0.607, allocations: 0.9131 MB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.607, allocations: 37.7 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.607, allocations: 0 / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.6072, allocations: 28.84 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009078/0.6081, allocations: 151.8 kB / 1.034 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.6092, allocations: 1.429 MB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.611, allocations: 115.3 kB / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.611, allocations: 19.98 kB / 1.035 GB, free: 40 kB / 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002112/0.6113, allocations: 185.7 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.6114, allocations: 35.56 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.333e-05/0.6115, allocations: 39.47 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6115, allocations: 7.938 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6115, allocations: 0 / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6115, allocations: 0 / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.6121, allocations: 472.9 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6121, allocations: 0 / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.6124, allocations: 47.91 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.6125, allocations: 32.84 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.6125, allocations: 15.92 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.6136, allocations: 1.41 MB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6136, allocations: 0 / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.6147, allocations: 0.6073 MB / 1.038 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6148, allocations: 112.6 kB / 1.038 GB, free: 12.85 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.6148, allocations: 12.19 kB / 1.038 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/0.6156, allocations: 27.89 kB / 1.038 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.6157, allocations: 19.92 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.6157, allocations: 7.984 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000254/0.6159, allocations: 263.2 kB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.616, allocations: 0 / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006748/0.6166, allocations: 235.9 kB / 1.039 GB, free: 12.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/0.6178, allocations: 1.148 MB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.6191, allocations: 0.7749 MB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6191, allocations: 0 / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.6195, allocations: 269.2 kB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.6201, allocations: 89.44 kB / 1.041 GB, free: 9.957 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/0.6278, allocations: 5.513 MB / 1.046 GB, free: 4.348 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.6283, allocations: 0.8077 MB / 1.047 GB, free: 3.516 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.6286, allocations: 111.2 kB / 1.047 GB, free: 3.402 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.6289, allocations: 135.5 kB / 1.047 GB, free: 3.27 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.6289, allocations: 0 / 1.047 GB, free: 3.27 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.6661, allocations: 12.02 MB / 1.059 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.77/10.44, allocations: 16.08 kB / 1.059 GB, free: 7.512 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv --start-time 0 --stop-time 360000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 144 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches