Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,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.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,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.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 110.9 kB / 16.41 MB, free: 6.469 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.001293/0.001293, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 71.91 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9845/0.986, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.07163/1.058, allocations: 65.58 MB / 1.29 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.025/1.083, allocations: 16.71 MB / 1.307 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/1.086, allocations: 71.56 kB / 1.307 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004454/1.09, allocations: 1.201 MB / 1.308 GB, free: 9.633 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007133/1.097, allocations: 2.405 MB / 1.31 GB, free: 7.219 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008262/1.106, allocations: 2.873 MB / 1.313 GB, free: 4.359 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006596/1.112, allocations: 4.448 MB / 1.317 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/1.115, allocations: 1.462 MB / 1.319 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/1.119, allocations: 1.65 MB / 1.321 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/1.121, allocations: 1.295 MB / 1.322 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005734/1.122, allocations: 180 kB / 1.322 GB, free: 11.28 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006176/1.128, allocations: 2.707 MB / 1.325 GB, free: 8.566 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007467/1.129, allocations: 474.4 kB / 1.325 GB, free: 8.102 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001918/1.131, allocations: 1.042 MB / 1.326 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008404/1.139, allocations: 4.493 MB / 1.33 GB, free: 2.547 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.139, allocations: 3.938 kB / 1.33 GB, free: 2.543 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.013e-06/1.139, allocations: 0 / 1.33 GB, free: 2.543 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.664e-05/1.139, allocations: 0 / 1.33 GB, free: 2.543 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005455/1.145, allocations: 2.458 MB / 1.333 GB, free: 20 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.145, allocations: 12.02 kB / 1.333 GB, free: 8 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007459/1.146, allocations: 219.6 kB / 1.333 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/1.149, allocations: 1.57 MB / 1.335 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/1.149, allocations: 82.08 kB / 1.335 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/1.149, allocations: 112 kB / 1.335 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/1.151, allocations: 1.108 MB / 1.336 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/1.151, allocations: 7.938 kB / 1.336 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/1.151, allocations: 43.94 kB / 1.336 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/1.151, allocations: 28 kB / 1.336 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/1.153, allocations: 0.8278 MB / 1.337 GB, free: 11.9 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.009323/1.162, allocations: 6.824 MB / 1.343 GB, free: 4.375 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.163, allocations: 0.7471 MB / 1.344 GB, free: 3.586 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/1.164, allocations: 354.6 kB / 1.345 GB, free: 3.238 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/1.165, allocations: 1.271 MB / 1.346 GB, free: 1.691 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/1.165, allocations: 39.22 kB / 1.346 GB, free: 1.645 MB / 1.061 GB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/1.165, allocations: 0 / 1.346 GB, free: 1.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=72): time 0.002623/1.168, allocations: 1.176 MB / 1.347 GB, free: 428 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/1.168, allocations: 85.77 kB / 1.347 GB, free: 324 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/1.171, allocations: 1.521 MB / 1.349 GB, free: 14.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/1.171, allocations: 37.7 kB / 1.349 GB, free: 14.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006717/1.172, allocations: 0.7141 MB / 1.349 GB, free: 14.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/1.172, allocations: 265.7 kB / 1.349 GB, free: 13.76 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/1.172, allocations: 194.5 kB / 1.35 GB, free: 13.56 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.172, allocations: 345.9 kB / 1.35 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/1.173, allocations: 288.7 kB / 1.35 GB, free: 12.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/1.174, allocations: 494.5 kB / 1.351 GB, free: 12.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.175, allocations: 0.7107 MB / 1.351 GB, free: 11.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.175, allocations: 8 kB / 1.351 GB, free: 11.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002009/1.177, allocations: 1.025 MB / 1.352 GB, free: 10.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.177, allocations: 8 kB / 1.352 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/1.177, allocations: 8 kB / 1.352 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003299/1.177, allocations: 69.69 kB / 1.353 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/1.178, allocations: 199.7 kB / 1.353 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/1.181, allocations: 3.309 MB / 1.356 GB, free: 6.715 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.182, allocations: 107.3 kB / 1.356 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.182, allocations: 43.98 kB / 1.356 GB, free: 6.566 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001048/1.183, allocations: 0.5839 MB / 1.357 GB, free: 5.977 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006658/1.183, allocations: 486.5 kB / 1.357 GB, free: 5.434 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001099/1.185, allocations: 0.7106 MB / 1.358 GB, free: 4.676 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/1.185, allocations: 7.984 kB / 1.358 GB, free: 4.668 MB / 1.076 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.002022/1.187, allocations: 1.025 MB / 1.359 GB, free: 3.633 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.187, allocations: 8 kB / 1.359 GB, free: 3.625 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/1.187, allocations: 8 kB / 1.359 GB, free: 3.617 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/1.187, allocations: 65.69 kB / 1.359 GB, free: 3.547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/1.188, allocations: 191.7 kB / 1.359 GB, free: 3.359 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/1.19, allocations: 3.317 MB / 1.362 GB, free: 15.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.192, allocations: 91.58 kB / 1.362 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/1.192, allocations: 39.98 kB / 1.362 GB, free: 15.64 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002862/1.192, allocations: 236.9 kB / 1.363 GB, free: 15.4 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/1.192, allocations: 166.9 kB / 1.363 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/1.194, allocations: 1.049 MB / 1.364 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/1.196, allocations: 0.7849 MB / 1.365 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.196, allocations: 3.938 kB / 1.365 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/1.196, allocations: 351.7 kB / 1.365 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/1.196, allocations: 19.98 kB / 1.365 GB, free: 12.97 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/1.197, allocations: 23.98 kB / 1.365 GB, free: 12.95 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/1.197, allocations: 56.52 kB / 1.365 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001945/1.199, allocations: 0.9384 MB / 1.366 GB, free: 11.94 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002002/1.201, allocations: 1.399 MB / 1.367 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005293/1.202, allocations: 333.4 kB / 1.368 GB, free: 10.19 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001706/1.203, allocations: 1.048 MB / 1.369 GB, free: 9.148 MB / 1.092 GB Notification: Performance of Backend: time 4.11e-07/1.203, allocations: 0 / 1.369 GB, free: 9.148 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005938/1.209, allocations: 2.424 MB / 1.371 GB, free: 6.672 MB / 1.092 GB Notification: Performance of SimCode: time 0.006863/1.216, allocations: 3.863 MB / 1.375 GB, free: 2.766 MB / 1.092 GB Notification: Performance of Templates: time 0.06737/1.284, allocations: 42.71 MB / 1.417 GB, free: 8.484 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches