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.001747/0.001747, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001949/0.001949, allocations: 188 kB / 17.34 MB, free: 5.738 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.537/1.537, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.66/2.66, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7682/0.7703, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003985/0.7743, allocations: 2.246 MB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00366/0.778, allocations: 2.405 MB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.7782, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.7798, allocations: 0.4923 MB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.7801, allocations: 95.38 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.7804, allocations: 99.84 kB / 1.173 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.7814, allocations: 0.846 MB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.7815, allocations: 48.16 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.7819, allocations: 279.5 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.7824, allocations: 331.2 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-05/0.7825, allocations: 52 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.7826, allocations: 60 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.7828, allocations: 223.5 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.7832, allocations: 282.9 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.7839, allocations: 0.7319 MB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.784, allocations: 0 / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.784, allocations: 0 / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.784, allocations: 0 / 1.175 GB, free: 11.65 MB / 0.9044 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.002456/0.7864, allocations: 0.9367 MB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.7865, allocations: 12.92 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.7866, allocations: 44.66 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.7882, allocations: 0.5265 MB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.7883, allocations: 24.38 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.7884, allocations: 36.38 kB / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.7888, allocations: 213.6 kB / 1.177 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7888, allocations: 4 kB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.7888, allocations: 4 kB / 1.177 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7888, allocations: 4 kB / 1.177 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.7892, allocations: 171.9 kB / 1.177 GB, free: 9.586 MB / 0.9044 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.004723/0.7939, allocations: 1.436 MB / 1.179 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.7958, allocations: 0.5841 MB / 1.179 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.796, allocations: 143.2 kB / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.7961, allocations: 0 / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.7961, allocations: 34.56 kB / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.923e-06/0.7961, allocations: 0 / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001221/0.7973, allocations: 0.55 MB / 1.18 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.7974, allocations: 55.41 kB / 1.18 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.7978, allocations: 405.4 kB / 1.18 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.7979, allocations: 37.7 kB / 1.18 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.7981, allocations: 173.2 kB / 1.181 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.7982, allocations: 95.22 kB / 1.181 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.7985, allocations: 150.3 kB / 1.181 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7986, allocations: 350.8 kB / 1.181 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.7993, allocations: 337.1 kB / 1.181 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/0.7999, allocations: 405.5 kB / 1.182 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009169/0.8009, allocations: 0.5684 MB / 1.182 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8009, allocations: 0 / 1.182 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001649/0.8025, allocations: 0.9211 MB / 1.183 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.8026, allocations: 33.7 kB / 1.183 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8026, allocations: 3.984 kB / 1.183 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.8028, allocations: 32.78 kB / 1.183 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/0.8037, allocations: 143.8 kB / 1.183 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.805, allocations: 1.433 MB / 1.185 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.8066, allocations: 107.4 kB / 1.185 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.8067, allocations: 23.98 kB / 1.185 GB, free: 1.277 MB / 0.9044 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.0002408/0.807, allocations: 190.9 kB / 1.185 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.807, allocations: 31.77 kB / 1.185 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.067e-05/0.8071, allocations: 35.48 kB / 1.185 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.8072, allocations: 4 kB / 1.185 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.8072, allocations: 7.922 kB / 1.185 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8072, allocations: 0 / 1.185 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.8077, allocations: 461 kB / 1.186 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8077, allocations: 0 / 1.186 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.808, allocations: 51.91 kB / 1.186 GB, free: 464 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.8082, allocations: 32.83 kB / 1.186 GB, free: 428 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.8082, allocations: 8.047 kB / 1.186 GB, free: 420 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.8094, allocations: 1.426 MB / 1.187 GB, free: 14.83 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8094, allocations: 0 / 1.187 GB, free: 14.83 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008903/0.8103, allocations: 0.6041 MB / 1.188 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.8104, allocations: 112.9 kB / 1.188 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.8105, allocations: 11.98 kB / 1.188 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.8112, allocations: 31.86 kB / 1.188 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.8113, allocations: 19.97 kB / 1.188 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.8113, allocations: 7.938 kB / 1.188 GB, free: 14.01 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002731/0.8116, allocations: 263.2 kB / 1.188 GB, free: 13.76 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8116, allocations: 0 / 1.188 GB, free: 13.76 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006575/0.8122, allocations: 232 kB / 1.188 GB, free: 13.53 MB / 0.92 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.0001628/0.8124, allocations: 124.3 kB / 1.189 GB, free: 13.4 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.8136, allocations: 0.7401 MB / 1.189 GB, free: 12.64 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8137, allocations: 0 / 1.189 GB, free: 12.64 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.814, allocations: 258.5 kB / 1.19 GB, free: 12.38 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.8146, allocations: 97.58 kB / 1.19 GB, free: 12.28 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.8166, allocations: 1.301 MB / 1.191 GB, free: 10.95 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.8171, allocations: 0.8116 MB / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003162/0.8174, allocations: 115.1 kB / 1.192 GB, free: 10 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.8176, allocations: 39.34 kB / 1.192 GB, free: 9.965 MB / 0.92 GB Notification: Performance of SimCode: time 3.6e-07/0.8176, allocations: 0 / 1.192 GB, free: 9.965 MB / 0.92 GB Notification: Performance of Templates: time 0.01591/0.8335, allocations: 8.15 MB / 1.2 GB, free: 1.926 MB / 0.92 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 -s cvode -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