Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Validation.Cylindrical,fileNamePrefix="Buildings_9_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_9_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.006655/0.006655, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001307/0.001307, allocations: 193.5 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.202/2.202, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.03 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8084, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003374/0.8118, allocations: 2.252 MB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002953/0.8148, allocations: 2.388 MB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.815, allocations: 6.344 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.8169, allocations: 499.6 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.8172, allocations: 92.58 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.8176, allocations: 101 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001017/0.8186, allocations: 0.8455 MB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.8187, allocations: 59.11 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.8192, allocations: 273.8 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/0.8198, allocations: 336.6 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.8199, allocations: 54.78 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.8201, allocations: 55.56 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.8204, allocations: 221.4 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.8208, allocations: 290.9 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009655/0.8217, allocations: 0.7206 MB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8217, allocations: 0 / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8218, allocations: 0 / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.8218, allocations: 5.516 kB / 1.095 GB, free: 0.5977 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002579/0.8244, allocations: 0.9443 MB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.8244, allocations: 9.469 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.231e-05/0.8245, allocations: 46.72 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.8247, allocations: 44.62 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.8264, allocations: 0.5179 MB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.8265, allocations: 22.23 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.8266, allocations: 42.52 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.8271, allocations: 212.8 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.8271, allocations: 0.7031 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.8271, allocations: 5.125 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.8271, allocations: 7.281 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.8275, allocations: 173.3 kB / 1.097 GB, free: 15.47 MB / 0.8731 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.005287/0.8328, allocations: 1.438 MB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.8349, allocations: 0.5853 MB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.8352, allocations: 141.4 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.8352, allocations: 3.375 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.8353, allocations: 36.12 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.8353, allocations: 0 / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24): time 0.001331/0.8366, allocations: 0.5564 MB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.8367, allocations: 57.8 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.8372, allocations: 398.1 kB / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.262e-05/0.8373, allocations: 38.72 kB / 1.101 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.8374, allocations: 160.5 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.8376, allocations: 103.5 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.8379, allocations: 152.2 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8381, allocations: 350.7 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.8389, allocations: 340.7 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.8396, allocations: 401.5 kB / 1.102 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009696/0.8406, allocations: 0.5673 MB / 1.103 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8406, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001671/0.8423, allocations: 0.9154 MB / 1.103 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.8424, allocations: 41.98 kB / 1.104 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8424, allocations: 0.7031 kB / 1.104 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.8426, allocations: 28.22 kB / 1.104 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009325/0.8435, allocations: 150.9 kB / 1.104 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.8448, allocations: 1.423 MB / 1.105 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.8466, allocations: 111.5 kB / 1.105 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.8467, allocations: 23.34 kB / 1.105 GB, free: 11.04 MB / 0.8731 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.0002555/0.847, allocations: 181.3 kB / 1.105 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.8472, allocations: 37.86 kB / 1.105 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.299e-05/0.8473, allocations: 39.84 kB / 1.105 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.8473, allocations: 10.22 kB / 1.105 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8473, allocations: 0.9062 kB / 1.105 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8473, allocations: 2.219 kB / 1.105 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.8479, allocations: 459.6 kB / 1.106 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8479, allocations: 1.125 kB / 1.106 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.8482, allocations: 49.81 kB / 1.106 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.8484, allocations: 30.81 kB / 1.106 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.8484, allocations: 10.38 kB / 1.106 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.8494, allocations: 1.426 MB / 1.107 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8494, allocations: 0 / 1.107 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.8504, allocations: 0.596 MB / 1.108 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.8505, allocations: 126.5 kB / 1.108 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.8506, allocations: 9.719 kB / 1.108 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000754/0.8514, allocations: 24.48 kB / 1.108 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.8514, allocations: 13.27 kB / 1.108 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.8515, allocations: 8.703 kB / 1.108 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003003/0.8518, allocations: 260.8 kB / 1.108 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8518, allocations: 192 / 1.108 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008292/0.8526, allocations: 242.1 kB / 1.109 GB, free: 8.488 MB / 0.8731 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.001188/0.8538, allocations: 1.151 MB / 1.11 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.8552, allocations: 0.7443 MB / 1.11 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8553, allocations: 0 / 1.11 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.8556, allocations: 269.7 kB / 1.111 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.8563, allocations: 89.83 kB / 1.111 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008172/0.8645, allocations: 5.49 MB / 1.116 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.865, allocations: 0.8143 MB / 1.117 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000382/0.8654, allocations: 110.1 kB / 1.117 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.8657, allocations: 126.6 kB / 1.117 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of SimCode: time 7.01e-07/0.8657, allocations: 0 / 1.117 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.9052, allocations: 12.15 MB / 1.129 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.45, allocations: 5.219 kB / 1.129 GB, free: 2.371 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches