Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001486/0.001486, allocations: 108.3 kB / 15.99 MB, free: 5.895 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.001621/0.001621, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437 MB / 0.7107 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 0.8694 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.6592, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003394/0.6627, allocations: 2.306 MB / 1.02 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.6655, allocations: 2.369 MB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.6656, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.6669, allocations: 446.1 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.6671, allocations: 87.48 kB / 1.023 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.6674, allocations: 87.89 kB / 1.023 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007752/0.6681, allocations: 0.8499 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.6683, allocations: 36.28 kB / 1.024 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.6686, allocations: 279.4 kB / 1.024 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.669, allocations: 351.1 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.6691, allocations: 56 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.651e-05/0.6692, allocations: 60 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.6694, allocations: 223.4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.6697, allocations: 286.9 kB / 1.025 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.6702, allocations: 0.5728 MB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6702, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6702, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.6702, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 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.002358/0.6725, allocations: 0.9273 MB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6726, allocations: 8.031 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.6727, allocations: 44.47 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.6743, allocations: 0.5223 MB / 1.027 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.6743, allocations: 24.38 kB / 1.027 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.952e-05/0.6744, allocations: 40.38 kB / 1.027 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.6748, allocations: 210.2 kB / 1.027 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6748, allocations: 0 / 1.027 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.6748, allocations: 8 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.6748, allocations: 4 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.6752, allocations: 171.9 kB / 1.027 GB, free: 8.66 MB / 0.7794 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.004632/0.6798, allocations: 1.428 MB / 1.029 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.6817, allocations: 0.588 MB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.6819, allocations: 140.8 kB / 1.029 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.6819, allocations: 4 kB / 1.029 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.6819, allocations: 30.56 kB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 2.434e-06/0.682, allocations: 3.938 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001077/0.683, allocations: 0.5499 MB / 1.03 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.6831, allocations: 59.41 kB / 1.03 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.6835, allocations: 397.3 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.6835, allocations: 45.64 kB / 1.03 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.6837, allocations: 157.2 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.6838, allocations: 94.59 kB / 1.031 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.684, allocations: 158.3 kB / 1.031 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6842, allocations: 350.8 kB / 1.031 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.6847, allocations: 341 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.6853, allocations: 397.5 kB / 1.032 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.6861, allocations: 0.5685 MB / 1.032 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6861, allocations: 4 kB / 1.032 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001448/0.6876, allocations: 0.9209 MB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.6876, allocations: 29.7 kB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6876, allocations: 0 / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.6878, allocations: 32.84 kB / 1.033 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/0.6887, allocations: 155.8 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.6898, allocations: 1.422 MB / 1.035 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.6915, allocations: 107.1 kB / 1.035 GB, free: 400 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.6916, allocations: 32.03 kB / 1.035 GB, free: 368 kB / 0.7794 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.0001995/0.6918, allocations: 177.7 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.6919, allocations: 35.53 kB / 1.035 GB, free: 144 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.375e-05/0.6919, allocations: 39.47 kB / 1.035 GB, free: 104 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.6919, allocations: 4 kB / 1.035 GB, free: 100 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.692, allocations: 3.938 kB / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.692, allocations: 0 / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.6924, allocations: 465 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6925, allocations: 4.047 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.6927, allocations: 51.89 kB / 1.036 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.6928, allocations: 24.84 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.6929, allocations: 11.98 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009343/0.6938, allocations: 1.422 MB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6938, allocations: 4.031 kB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.6946, allocations: 0.6046 MB / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.6947, allocations: 116.6 kB / 1.038 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.6948, allocations: 8 kB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/0.6956, allocations: 27.89 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.6956, allocations: 15.98 kB / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.6957, allocations: 4 kB / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002358/0.6959, allocations: 263.1 kB / 1.038 GB, free: 12.86 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.452e-06/0.6959, allocations: 4 kB / 1.038 GB, free: 12.86 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006259/0.6965, allocations: 239.9 kB / 1.038 GB, free: 12.62 MB / 0.795 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.0001571/0.6967, allocations: 126.3 kB / 1.038 GB, free: 12.49 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.6979, allocations: 0.779 MB / 1.039 GB, free: 11.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6979, allocations: 0 / 1.039 GB, free: 11.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.6982, allocations: 266.3 kB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.6988, allocations: 95.31 kB / 1.04 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.7008, allocations: 1.409 MB / 1.041 GB, free: 9.879 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.7011, allocations: 0.8115 MB / 1.042 GB, free: 9.043 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.7013, allocations: 43.41 kB / 1.042 GB, free: 9 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.7013, allocations: 0 / 1.042 GB, free: 9 MB / 0.795 GB Notification: Performance of Templates: time 0.009968/0.7113, allocations: 7.5 MB / 1.049 GB, free: 1.535 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches