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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 152 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.001155/0.001155, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.675/2.675, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002134, allocations: 64.61 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3184, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.00524/0.3237, allocations: 2.25 MB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004677/0.3284, allocations: 2.398 MB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.3287, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.3309, allocations: 0.4888 MB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.3313, allocations: 91.36 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.3317, allocations: 103.8 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.333, allocations: 0.8421 MB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3331, allocations: 36.28 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007847/0.3339, allocations: 271.5 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.3346, allocations: 347.1 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.3349, allocations: 52 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.3352, allocations: 59.94 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.3355, allocations: 219.5 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006253/0.3362, allocations: 278.9 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.3372, allocations: 0.7283 MB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3372, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.053e-06/0.3372, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.661e-05/0.3372, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 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.003005/0.3402, allocations: 0.933 MB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3403, allocations: 12.03 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.3403, allocations: 46.73 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.3405, allocations: 40.47 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.3423, allocations: 0.5108 MB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.3424, allocations: 28.38 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3426, allocations: 40.28 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.343, allocations: 213.9 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.343, allocations: 3.938 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.343, allocations: 8 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.343, allocations: 4 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.3433, allocations: 175.9 kB / 1.074 GB, free: 4.215 MB / 0.8262 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.004986/0.3483, allocations: 1.424 MB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.3502, allocations: 0.5931 MB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.3505, allocations: 139.2 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3505, allocations: 7.984 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3505, allocations: 38.56 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 3.887e-06/0.3505, allocations: 3.984 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.001286/0.3518, allocations: 0.5382 MB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3519, allocations: 59.39 kB / 1.076 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.3524, allocations: 405.3 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/0.3524, allocations: 37.7 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3526, allocations: 161.2 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3527, allocations: 98.55 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.353, allocations: 150.3 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3532, allocations: 354.8 kB / 1.077 GB, free: 84 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.3538, allocations: 337.1 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/0.3545, allocations: 401.5 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.3554, allocations: 0.5722 MB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3555, allocations: 4 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001744/0.3572, allocations: 0.9092 MB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.3573, allocations: 41.69 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3573, allocations: 0 / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.3575, allocations: 32.84 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008767/0.3584, allocations: 147.8 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.3597, allocations: 1.426 MB / 1.081 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.3615, allocations: 107.3 kB / 1.081 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.3616, allocations: 23.98 kB / 1.081 GB, free: 11.92 MB / 0.8419 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.0002565/0.3619, allocations: 185.7 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/0.362, allocations: 27.62 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.428e-05/0.3621, allocations: 43.47 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.3621, allocations: 7.938 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3621, allocations: 0 / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3621, allocations: 3.938 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.3627, allocations: 465 kB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3627, allocations: 0 / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.363, allocations: 43.91 kB / 1.082 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.3631, allocations: 32.84 kB / 1.082 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.3632, allocations: 12 kB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3643, allocations: 1.43 MB / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3643, allocations: 0 / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009036/0.3652, allocations: 0.5926 MB / 1.084 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.3654, allocations: 120.6 kB / 1.084 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.3654, allocations: 12.17 kB / 1.084 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007632/0.3662, allocations: 28.05 kB / 1.084 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.3663, allocations: 19.86 kB / 1.084 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3663, allocations: 8 kB / 1.084 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002742/0.3666, allocations: 263.1 kB / 1.085 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3666, allocations: 0 / 1.085 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007228/0.3673, allocations: 243.8 kB / 1.085 GB, free: 8.168 MB / 0.8419 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.001472/0.3688, allocations: 1.139 MB / 1.086 GB, free: 7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.3704, allocations: 0.7814 MB / 1.087 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3705, allocations: 0 / 1.087 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.3708, allocations: 266.5 kB / 1.087 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.3716, allocations: 93.88 kB / 1.087 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/0.3799, allocations: 5.508 MB / 1.092 GB, free: 240 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.3804, allocations: 0.8077 MB / 1.093 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00036/0.3808, allocations: 111.2 kB / 1.093 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.3811, allocations: 123.6 kB / 1.093 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of SimCode: time 9.02e-07/0.3811, allocations: 0 / 1.093 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04288/0.424, allocations: 12.04 MB / 1.105 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.48, allocations: 10.73 kB / 1.105 GB, free: 3.41 MB / 0.8575 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