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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soi.port_a.T|soi.port_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 107.9 kB / 15.99 MB, free: 5.91 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.001932/0.001932, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.521/1.521, allocations: 222.9 MB / 240.6 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 482.4 MB / 0.755 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 0.924 GB, free: 344 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.87/0.872, allocations: 162.2 MB / 1.082 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003897/0.8759, allocations: 2.292 MB / 1.085 GB, free: 44 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003832/0.8798, allocations: 2.36 MB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.8799, allocations: 3.125 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.8815, allocations: 453.4 kB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.8817, allocations: 75.05 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.8821, allocations: 93.88 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.8832, allocations: 0.8455 MB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.8834, allocations: 46.2 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.8838, allocations: 282.7 kB / 1.089 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.8844, allocations: 355.5 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.8845, allocations: 55.22 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.8846, allocations: 55.47 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.8849, allocations: 226.4 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.8853, allocations: 281.6 kB / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.8861, allocations: 0.5704 MB / 1.09 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8861, allocations: 0 / 1.09 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8861, allocations: 0 / 1.09 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.8861, allocations: 0 / 1.09 GB, free: 13.09 MB / 0.8419 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.002785/0.8889, allocations: 0.93 MB / 1.091 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.889, allocations: 13.06 kB / 1.091 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.8891, allocations: 44.08 kB / 1.091 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.8909, allocations: 0.5122 MB / 1.092 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.8909, allocations: 26.31 kB / 1.092 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.8911, allocations: 38.39 kB / 1.092 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.8915, allocations: 204.8 kB / 1.092 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8916, allocations: 0.7031 kB / 1.092 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.8916, allocations: 9.156 kB / 1.092 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.8916, allocations: 3.719 kB / 1.092 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.892, allocations: 181.3 kB / 1.092 GB, free: 12.03 MB / 0.8419 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.005361/0.8973, allocations: 1.431 MB / 1.094 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.8994, allocations: 0.5898 MB / 1.094 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.8996, allocations: 142.2 kB / 1.094 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.8997, allocations: 2.656 kB / 1.094 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.8997, allocations: 36.06 kB / 1.094 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=24): time 2.394e-06/0.8997, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.001383/0.9011, allocations: 0.5452 MB / 1.095 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.9012, allocations: 59.02 kB / 1.095 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.9017, allocations: 401.6 kB / 1.095 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.9018, allocations: 38.61 kB / 1.095 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.902, allocations: 168.6 kB / 1.095 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.9022, allocations: 94.56 kB / 1.096 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.9025, allocations: 148.1 kB / 1.096 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.9027, allocations: 351.5 kB / 1.096 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006778/0.9034, allocations: 337 kB / 1.096 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/0.9041, allocations: 400 kB / 1.097 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009852/0.9051, allocations: 0.5681 MB / 1.097 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.9051, allocations: 0 / 1.097 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001774/0.9069, allocations: 0.9191 MB / 1.098 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.907, allocations: 33.78 kB / 1.098 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.907, allocations: 1.344 kB / 1.098 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.9072, allocations: 28.11 kB / 1.098 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009533/0.9082, allocations: 154.2 kB / 1.098 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.9096, allocations: 1.428 MB / 1.1 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.9115, allocations: 110.7 kB / 1.1 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.9116, allocations: 27.33 kB / 1.1 GB, free: 7.602 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.0002967/0.9119, allocations: 181.5 kB / 1.1 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.912, allocations: 29 kB / 1.1 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.038e-05/0.9121, allocations: 36.98 kB / 1.1 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9121, allocations: 2 kB / 1.1 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.9121, allocations: 5.031 kB / 1.1 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.9121, allocations: 9.484 kB / 1.1 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007044/0.9129, allocations: 464.8 kB / 1.101 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9129, allocations: 0 / 1.101 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.9132, allocations: 47.2 kB / 1.101 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.9133, allocations: 25.98 kB / 1.101 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.9133, allocations: 13.98 kB / 1.101 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.9146, allocations: 1.422 MB / 1.102 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9146, allocations: 1.062 kB / 1.102 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.9156, allocations: 0.5981 MB / 1.103 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.9158, allocations: 118.1 kB / 1.103 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.9158, allocations: 13.98 kB / 1.103 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007996/0.9166, allocations: 36.53 kB / 1.103 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.9167, allocations: 16.8 kB / 1.103 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.9167, allocations: 5.078 kB / 1.103 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003457/0.9171, allocations: 262.5 kB / 1.103 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9171, allocations: 0 / 1.103 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008445/0.9179, allocations: 233.5 kB / 1.103 GB, free: 5.074 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.0001942/0.9181, allocations: 120.3 kB / 1.103 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.9197, allocations: 0.7825 MB / 1.104 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9197, allocations: 1.375 kB / 1.104 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.9201, allocations: 255 kB / 1.104 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.9208, allocations: 90.33 kB / 1.105 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.923, allocations: 1.426 MB / 1.106 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.9236, allocations: 0.8092 MB / 1.107 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.9238, allocations: 45.73 kB / 1.107 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.9238, allocations: 0 / 1.107 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of Templates: time 0.01542/0.9393, allocations: 7.491 MB / 1.114 GB, free: 1.168 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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.mat","/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