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.001625/0.001625, 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.001769/0.001769, allocations: 197.1 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.387/2.387, allocations: 390.2 MB / 0.6647 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.89 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5712, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.002947/0.5742, allocations: 2.245 MB / 0.9519 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.5766, allocations: 2.386 MB / 0.9543 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.5767, allocations: 2.219 kB / 0.9543 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.5779, allocations: 498.7 kB / 0.9547 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.578, allocations: 90.59 kB / 0.9548 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.5783, allocations: 104.5 kB / 0.9549 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.579, allocations: 0.843 MB / 0.9557 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.5791, allocations: 42.84 kB / 0.9558 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.5794, allocations: 280 kB / 0.9561 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.5797, allocations: 339.6 kB / 0.9564 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.5798, allocations: 54.69 kB / 0.9564 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.58, allocations: 55.34 kB / 0.9565 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.5802, allocations: 223.9 kB / 0.9567 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.5804, allocations: 286.4 kB / 0.957 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.5809, allocations: 0.7274 MB / 0.9577 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5809, allocations: 5.078 kB / 0.9577 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5809, allocations: 4 kB / 0.9577 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.5809, allocations: 0 / 0.9577 GB, free: 3.309 MB / 0.7169 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.002109/0.5831, allocations: 0.9298 MB / 0.9586 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5831, allocations: 9.438 kB / 0.9586 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.5832, allocations: 44.09 kB / 0.9586 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.5833, allocations: 41.78 kB / 0.9587 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.5847, allocations: 0.5188 MB / 0.9592 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.5848, allocations: 24.66 kB / 0.9592 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/0.5849, allocations: 43.03 kB / 0.9593 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.5852, allocations: 202.6 kB / 0.9595 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5852, allocations: 0 / 0.9595 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.5852, allocations: 5.375 kB / 0.9595 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5852, allocations: 3.781 kB / 0.9595 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.5855, allocations: 184.9 kB / 0.9596 GB, free: 1.895 MB / 0.7169 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.004401/0.5899, allocations: 1.423 MB / 0.961 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.5916, allocations: 0.5936 MB / 0.9616 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.5918, allocations: 139.2 kB / 0.9617 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.5919, allocations: 11.23 kB / 0.9618 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.5919, allocations: 39.86 kB / 0.9618 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.5919, allocations: 0 / 0.9618 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.000983/0.5929, allocations: 0.5416 MB / 0.9623 GB, free: 168 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.5929, allocations: 53.94 kB / 0.9624 GB, free: 104 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.5933, allocations: 403.4 kB / 0.9628 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.5934, allocations: 36.89 kB / 0.9628 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.5936, allocations: 166.7 kB / 0.9629 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.5937, allocations: 95.03 kB / 0.963 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.594, allocations: 147.1 kB / 0.9632 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5941, allocations: 357.4 kB / 0.9635 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.5947, allocations: 337 kB / 0.9638 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/0.5955, allocations: 403.7 kB / 0.9642 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.5964, allocations: 0.5622 MB / 0.9648 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5964, allocations: 0 / 0.9648 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001646/0.5981, allocations: 0.9194 MB / 0.9657 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.5981, allocations: 37.72 kB / 0.9657 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5981, allocations: 0 / 0.9657 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.5983, allocations: 31.84 kB / 0.9657 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.5992, allocations: 150.8 kB / 0.9659 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.6004, allocations: 1.425 MB / 0.9673 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.6021, allocations: 108.3 kB / 0.9674 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.6022, allocations: 22.36 kB / 0.9674 GB, free: 12.33 MB / 0.7325 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.0002168/0.6024, allocations: 186.3 kB / 0.9676 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.6025, allocations: 35.88 kB / 0.9676 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.379e-05/0.6026, allocations: 41.03 kB / 0.9677 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.6026, allocations: 10.62 kB / 0.9677 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6026, allocations: 0 / 0.9677 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6026, allocations: 1.094 kB / 0.9677 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.6032, allocations: 462.4 kB / 0.9681 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6032, allocations: 0 / 0.9681 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.6036, allocations: 49.73 kB / 0.9682 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.6037, allocations: 26.59 kB / 0.9682 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.6038, allocations: 11.78 kB / 0.9682 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.6048, allocations: 1.423 MB / 0.9696 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.6048, allocations: 1.5 kB / 0.9696 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.6057, allocations: 0.5956 MB / 0.9702 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6059, allocations: 117.2 kB / 0.9703 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.6059, allocations: 12.55 kB / 0.9703 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008302/0.6068, allocations: 25.66 kB / 0.9703 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.6068, allocations: 20.16 kB / 0.9703 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.6069, allocations: 8.094 kB / 0.9703 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000307/0.6072, allocations: 263.9 kB / 0.9706 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6072, allocations: 0 / 0.9706 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008002/0.608, allocations: 240.6 kB / 0.9708 GB, free: 9.453 MB / 0.7325 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.001214/0.6092, allocations: 1.157 MB / 0.9719 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.6105, allocations: 0.7746 MB / 0.9727 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6106, allocations: 1.562 kB / 0.9727 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.6109, allocations: 264 kB / 0.973 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.6116, allocations: 96.55 kB / 0.973 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008253/0.6199, allocations: 5.523 MB / 0.9784 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.6204, allocations: 0.8077 MB / 0.9792 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003824/0.6208, allocations: 111.2 kB / 0.9793 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.6211, allocations: 127.4 kB / 0.9795 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/0.6211, allocations: 192 / 0.9795 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.6568, allocations: 12.01 MB / 0.9912 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.8, allocations: 10.7 kB / 0.9912 GB, free: 6.719 MB / 0.7481 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