Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.007584/0.007584, allocations: 99.81 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.001646/0.001646, allocations: 192.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.314/1.314, 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 11.1.0-master/package.mo): time 2.455/2.455, allocations: 469.4 MB / 0.7422 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8458, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003696/0.8496, allocations: 2.252 MB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003121/0.8528, allocations: 2.382 MB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.853, allocations: 8 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.8544, allocations: 497.5 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.8546, allocations: 95.36 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.855, allocations: 95.86 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008927/0.8559, allocations: 0.8571 MB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.856, allocations: 40.3 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.8565, allocations: 275.4 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005869/0.8571, allocations: 335.2 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.8572, allocations: 59.94 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.8574, allocations: 56 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.8577, allocations: 227.5 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.8582, allocations: 282.9 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007523/0.8589, allocations: 0.7241 MB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.8589, allocations: 4 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.859, allocations: 0 / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.859, allocations: 0 / 1.228 GB, free: 10.11 MB / 0.9512 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.002629/0.8616, allocations: 0.9444 MB / 1.229 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.8617, allocations: 8.031 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.8617, allocations: 46.73 kB / 1.229 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.8619, allocations: 48.66 kB / 1.229 GB, free: 9 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.8634, allocations: 0.5187 MB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.8635, allocations: 20.38 kB / 1.229 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.8636, allocations: 40.38 kB / 1.229 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.864, allocations: 209.9 kB / 1.23 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.864, allocations: 0 / 1.23 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.864, allocations: 12 kB / 1.23 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.864, allocations: 0 / 1.23 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.8643, allocations: 179.9 kB / 1.23 GB, free: 7.988 MB / 0.9512 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.004507/0.8688, allocations: 1.432 MB / 1.231 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.8705, allocations: 0.5919 MB / 1.232 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.8708, allocations: 140.8 kB / 1.232 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8708, allocations: 4 kB / 1.232 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.8708, allocations: 34.56 kB / 1.232 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.8708, allocations: 0 / 1.232 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24): time 0.001045/0.8719, allocations: 0.5565 MB / 1.232 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.8719, allocations: 55.41 kB / 1.232 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.8723, allocations: 397.5 kB / 1.233 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.8724, allocations: 37.7 kB / 1.233 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.8726, allocations: 169.2 kB / 1.233 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.8727, allocations: 95.17 kB / 1.233 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.8729, allocations: 154.3 kB / 1.233 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8731, allocations: 350.8 kB / 1.234 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.8737, allocations: 337.1 kB / 1.234 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.8743, allocations: 401.5 kB / 1.234 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/0.8751, allocations: 0.5722 MB / 1.235 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8751, allocations: 0 / 1.235 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001498/0.8766, allocations: 0.925 MB / 1.236 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.8767, allocations: 35.42 kB / 1.236 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8767, allocations: 0 / 1.236 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.8769, allocations: 24.84 kB / 1.236 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008028/0.8777, allocations: 151.8 kB / 1.236 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.8788, allocations: 1.433 MB / 1.237 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.8804, allocations: 107.6 kB / 1.237 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.8805, allocations: 23.98 kB / 1.237 GB, free: 15.67 MB / 0.9669 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.0002062/0.8807, allocations: 181.7 kB / 1.238 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.8808, allocations: 39.75 kB / 1.238 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.8809, allocations: 39.47 kB / 1.238 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.8809, allocations: 7.938 kB / 1.238 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8809, allocations: 0 / 1.238 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8809, allocations: 3.984 kB / 1.238 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.8814, allocations: 461 kB / 1.238 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8814, allocations: 0 / 1.238 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.8817, allocations: 51.91 kB / 1.238 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.8818, allocations: 28.84 kB / 1.238 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.8818, allocations: 11.98 kB / 1.238 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009283/0.8828, allocations: 1.426 MB / 1.24 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8828, allocations: 0 / 1.24 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000781/0.8836, allocations: 0.6003 MB / 1.24 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.8837, allocations: 121.1 kB / 1.24 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.8837, allocations: 8 kB / 1.24 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.8844, allocations: 35.84 kB / 1.24 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.8845, allocations: 15.97 kB / 1.24 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.8845, allocations: 8 kB / 1.24 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002351/0.8848, allocations: 259.2 kB / 1.241 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8848, allocations: 0 / 1.241 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006466/0.8854, allocations: 239.9 kB / 1.241 GB, free: 11.92 MB / 0.9669 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.001086/0.8865, allocations: 1.147 MB / 1.242 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.8877, allocations: 0.7383 MB / 1.243 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8877, allocations: 4 kB / 1.243 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.888, allocations: 266.5 kB / 1.243 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.8886, allocations: 93.44 kB / 1.243 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/0.8955, allocations: 5.493 MB / 1.248 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.8959, allocations: 0.8116 MB / 1.249 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002912/0.8962, allocations: 115.4 kB / 1.249 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.8964, allocations: 127.4 kB / 1.249 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.8964, allocations: 3.938 kB / 1.249 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.9315, allocations: 12.15 MB / 1.261 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/11.04, allocations: 19.3 kB / 1.261 GB, free: 7.086 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches