Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 111.8 kB / 16.37 MB, free: 6.355 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.001636/0.001636, allocations: 191.5 kB / 17.31 MB, free: 5.895 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 442.7 MB / 0.7166 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 59.89 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7165, allocations: 153 MB / 1.177 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.08295/0.7995, allocations: 86.31 MB / 1.261 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03729/0.8368, allocations: 25.28 MB / 1.286 GB, free: 10.79 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007655/0.8445, allocations: 123.3 kB / 1.286 GB, free: 10.67 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007641/0.8522, allocations: 1.781 MB / 1.288 GB, free: 8.883 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01594/0.8682, allocations: 4.037 MB / 1.292 GB, free: 4.828 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.8796, allocations: 4.057 MB / 1.296 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.8918, allocations: 8.351 MB / 1.304 GB, free: 8.426 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005183/0.8971, allocations: 2.889 MB / 1.306 GB, free: 5.477 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006609/0.9037, allocations: 2.926 MB / 1.309 GB, free: 2.551 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004937/0.9087, allocations: 2.425 MB / 1.312 GB, free: 120 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0009709/0.9097, allocations: 360 kB / 1.312 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008133/0.9178, allocations: 3.432 MB / 1.315 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.9192, allocations: 0.8526 MB / 1.316 GB, free: 11.47 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003092/0.9223, allocations: 1.902 MB / 1.318 GB, free: 9.562 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.9357, allocations: 7.284 MB / 1.325 GB, free: 2.258 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.9358, allocations: 0 / 1.325 GB, free: 2.258 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9358, allocations: 4 kB / 1.325 GB, free: 2.254 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001374/0.936, allocations: 0 / 1.325 GB, free: 2.254 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.007678/0.9436, allocations: 3.904 MB / 1.329 GB, free: 14.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.9437, allocations: 8.031 kB / 1.329 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.9447, allocations: 371.8 kB / 1.329 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004595/0.9493, allocations: 2.63 MB / 1.332 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.9494, allocations: 164.1 kB / 1.332 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.9497, allocations: 223.9 kB / 1.332 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/0.9533, allocations: 2.19 MB / 1.334 GB, free: 8.504 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/0.9533, allocations: 4 kB / 1.334 GB, free: 8.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.9535, allocations: 92 kB / 1.335 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.9536, allocations: 48 kB / 1.335 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.9563, allocations: 1.675 MB / 1.336 GB, free: 6.672 MB / 1.061 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.0124/0.9687, allocations: 9.296 MB / 1.345 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.9705, allocations: 1.188 MB / 1.346 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.9716, allocations: 0.8257 MB / 1.347 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002491/0.9741, allocations: 2.914 MB / 1.35 GB, free: 7.363 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.9742, allocations: 47.88 kB / 1.35 GB, free: 7.309 MB / 1.076 GB Notification: Performance of pre-optimization done (n=148): time 4.147e-06/0.9742, allocations: 0 / 1.35 GB, free: 7.309 MB / 1.076 GB Notification: Performance of matching and sorting (n=148): time 0.005664/0.9799, allocations: 2.716 MB / 1.353 GB, free: 4.453 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.9799, allocations: 94.42 kB / 1.353 GB, free: 4.344 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/0.9832, allocations: 2.294 MB / 1.355 GB, free: 2.035 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.9834, allocations: 61.64 kB / 1.355 GB, free: 1.969 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009253/0.9844, allocations: 1.193 MB / 1.356 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/0.9848, allocations: 0.516 MB / 1.357 GB, free: 244 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005278/0.9853, allocations: 363.4 kB / 1.357 GB, free: 15.87 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.9855, allocations: 305.1 kB / 1.358 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009978/0.9865, allocations: 0.5787 MB / 1.358 GB, free: 14.99 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.9878, allocations: 0.9374 MB / 1.359 GB, free: 13.93 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.99, allocations: 1.488 MB / 1.36 GB, free: 12.36 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.99, allocations: 4 kB / 1.36 GB, free: 12.35 MB / 1.092 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004282/0.9943, allocations: 2.127 MB / 1.363 GB, free: 10.2 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.9943, allocations: 8 kB / 1.363 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.9944, allocations: 8.625 kB / 1.363 GB, free: 10.18 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.9954, allocations: 269 kB / 1.363 GB, free: 9.898 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.9967, allocations: 399.3 kB / 1.363 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/1.002, allocations: 7.718 MB / 1.371 GB, free: 1.191 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/1.004, allocations: 194 kB / 1.371 GB, free: 1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/1.004, allocations: 75.98 kB / 1.371 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001926/1.006, allocations: 1.047 MB / 1.372 GB, free: 15.88 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001284/1.008, allocations: 0.9335 MB / 1.373 GB, free: 14.82 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002175/1.01, allocations: 1.476 MB / 1.374 GB, free: 13.25 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.179e-06/1.01, allocations: 0 / 1.374 GB, free: 13.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.00383/1.014, allocations: 2.065 MB / 1.376 GB, free: 11.16 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.014, allocations: 8 kB / 1.376 GB, free: 11.15 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/1.014, allocations: 8 kB / 1.376 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/1.014, allocations: 221.6 kB / 1.377 GB, free: 10.91 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.015, allocations: 391.4 kB / 1.377 GB, free: 10.53 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007085/1.023, allocations: 10.1 MB / 1.387 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.025, allocations: 166.7 kB / 1.387 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/1.025, allocations: 75.98 kB / 1.387 GB, free: 15.34 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004453/1.025, allocations: 276 kB / 1.387 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005275/1.026, allocations: 264.8 kB / 1.388 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/1.029, allocations: 2.014 MB / 1.39 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002379/1.032, allocations: 1.654 MB / 1.391 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.032, allocations: 0 / 1.391 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009783/1.033, allocations: 0.5442 MB / 1.392 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000296/1.033, allocations: 32 kB / 1.392 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.034, allocations: 43.97 kB / 1.392 GB, free: 10.43 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.034, allocations: 117.1 kB / 1.392 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003886/1.038, allocations: 1.92 MB / 1.394 GB, free: 8.367 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003755/1.042, allocations: 2.608 MB / 1.396 GB, free: 5.742 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009192/1.043, allocations: 0.6785 MB / 1.397 GB, free: 5.051 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002298/1.045, allocations: 1.547 MB / 1.398 GB, free: 3.496 MB / 1.123 GB Notification: Performance of Backend: time 7.01e-07/1.045, allocations: 0 / 1.398 GB, free: 3.496 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008503/1.054, allocations: 4.475 MB / 1.403 GB, free: 14.9 MB / 1.139 GB Notification: Performance of SimCode: time 0.01049/1.064, allocations: 6.362 MB / 1.409 GB, free: 8.508 MB / 1.139 GB Notification: Performance of Templates: time 0.1055/1.17, allocations: 67.47 MB / 1.475 GB, free: 5.676 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches