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.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001158/0.001158, allocations: 194.3 kB / 16.14 MB, free: 6.648 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.478/2.478, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5817, allocations: 151.6 MB / 1.017 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003689/0.5854, allocations: 2.306 MB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003158/0.5886, allocations: 2.369 MB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.5888, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.5901, allocations: 442.2 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.5903, allocations: 87.5 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.5906, allocations: 95.38 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.5914, allocations: 0.8693 MB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.5915, allocations: 36.3 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.5918, allocations: 247.4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.5922, allocations: 331.1 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.271e-05/0.5923, allocations: 32 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.5924, allocations: 28 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.5926, allocations: 195.5 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.5929, allocations: 258.9 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.5935, allocations: 0.701 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5936, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5936, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5936, allocations: 0 / 1.024 GB, free: 10.88 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.002399/0.596, allocations: 0.935 MB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.596, allocations: 12.03 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.5962, allocations: 40.47 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.5977, allocations: 0.5146 MB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.5978, allocations: 28.31 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-05/0.5979, allocations: 44.28 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.5983, allocations: 210.1 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5983, allocations: 0 / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.5984, allocations: 7.984 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.5984, allocations: 4 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.5987, allocations: 171.9 kB / 1.026 GB, free: 8.824 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.005068/0.6038, allocations: 1.436 MB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.6058, allocations: 0.5802 MB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.6061, allocations: 144.8 kB / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.6061, allocations: 4 kB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.6061, allocations: 34.56 kB / 1.028 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 2.665e-06/0.6061, allocations: 0 / 1.028 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001229/0.6074, allocations: 0.551 MB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.6074, allocations: 59.41 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.6079, allocations: 401.3 kB / 1.029 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.6079, allocations: 37.7 kB / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.6081, allocations: 161.2 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.6082, allocations: 94.66 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.6085, allocations: 154.2 kB / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6086, allocations: 346.8 kB / 1.03 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.6092, allocations: 341.1 kB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.6098, allocations: 401.5 kB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.6107, allocations: 0.5684 MB / 1.031 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6107, allocations: 0 / 1.031 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001523/0.6122, allocations: 0.9208 MB / 1.032 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.6123, allocations: 37.7 kB / 1.032 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6123, allocations: 0 / 1.032 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.6125, allocations: 28.78 kB / 1.032 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/0.6134, allocations: 147.8 kB / 1.033 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.6144, allocations: 1.323 MB / 1.034 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.6161, allocations: 111.3 kB / 1.034 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.6162, allocations: 27.98 kB / 1.034 GB, free: 0.6367 MB / 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.0002416/0.6164, allocations: 189.6 kB / 1.034 GB, free: 452 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.6165, allocations: 31.53 kB / 1.034 GB, free: 420 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.02e-05/0.6166, allocations: 39.47 kB / 1.034 GB, free: 380 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6166, allocations: 11.94 kB / 1.034 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6166, allocations: 0 / 1.034 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6166, allocations: 0 / 1.034 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.6171, allocations: 464.9 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6171, allocations: 0 / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.6174, allocations: 51.89 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.6175, allocations: 24.84 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.6176, allocations: 8 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009258/0.6185, allocations: 1.327 MB / 1.036 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6185, allocations: 0 / 1.036 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.6193, allocations: 0.5998 MB / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6195, allocations: 120.6 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.6195, allocations: 11.94 kB / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/0.6203, allocations: 23.89 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.6204, allocations: 23.97 kB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.6204, allocations: 7.984 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002494/0.6207, allocations: 259.2 kB / 1.037 GB, free: 13.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6207, allocations: 0 / 1.037 GB, free: 13.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006839/0.6213, allocations: 236 kB / 1.037 GB, free: 13 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.0001649/0.6215, allocations: 118.2 kB / 1.037 GB, free: 12.88 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.6227, allocations: 0.7398 MB / 1.038 GB, free: 12.11 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.6228, allocations: 0 / 1.038 GB, free: 12.11 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.6231, allocations: 260 kB / 1.038 GB, free: 11.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.6238, allocations: 97.55 kB / 1.038 GB, free: 11.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.6258, allocations: 1.375 MB / 1.04 GB, free: 10.35 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.6262, allocations: 0.8041 MB / 1.041 GB, free: 9.52 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003512/0.6266, allocations: 115.2 kB / 1.041 GB, free: 9.406 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.6268, allocations: 39.42 kB / 1.041 GB, free: 9.367 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/0.6268, allocations: 0 / 1.041 GB, free: 9.367 MB / 0.795 GB Notification: Performance of Templates: time 0.01385/0.6406, allocations: 7.583 MB / 1.048 GB, free: 1.879 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/jenkins/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