Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_10_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_10_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.001731/0.001731, allocations: 111 kB / 16.42 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.001587/0.001587, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.06 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.477/2.477, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 60.12 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9007/0.9022, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.09816/1, allocations: 86.32 MB / 1.252 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04191/1.042, allocations: 25.28 MB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00499/1.047, allocations: 119.4 kB / 1.276 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006049/1.053, allocations: 1.792 MB / 1.278 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01317/1.067, allocations: 4.138 MB / 1.282 GB, free: 13.83 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01137/1.078, allocations: 4.066 MB / 1.286 GB, free: 9.801 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01351/1.092, allocations: 8.366 MB / 1.294 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005827/1.097, allocations: 2.897 MB / 1.297 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007973/1.105, allocations: 3.002 MB / 1.3 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005066/1.111, allocations: 2.412 MB / 1.302 GB, free: 9.035 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00167/1.112, allocations: 360 kB / 1.303 GB, free: 8.684 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009591/1.122, allocations: 3.432 MB / 1.306 GB, free: 5.246 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/1.124, allocations: 0.8448 MB / 1.307 GB, free: 4.398 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004517/1.128, allocations: 1.902 MB / 1.309 GB, free: 2.488 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/1.144, allocations: 7.292 MB / 1.316 GB, free: 11.18 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/1.144, allocations: 4 kB / 1.316 GB, free: 11.17 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/1.144, allocations: 0 / 1.316 GB, free: 11.17 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002219/1.144, allocations: 7.938 kB / 1.316 GB, free: 11.16 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.01203/1.156, allocations: 3.896 MB / 1.32 GB, free: 7.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/1.156, allocations: 8.922 kB / 1.32 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/1.158, allocations: 379.8 kB / 1.32 GB, free: 6.805 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006389/1.165, allocations: 2.632 MB / 1.323 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/1.165, allocations: 160.1 kB / 1.323 GB, free: 3.938 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000675/1.166, allocations: 219.9 kB / 1.323 GB, free: 3.723 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/1.17, allocations: 2.19 MB / 1.325 GB, free: 1.422 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/1.17, allocations: 11.98 kB / 1.325 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/1.171, allocations: 88 kB / 1.325 GB, free: 1.324 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/1.171, allocations: 51.94 kB / 1.325 GB, free: 1.273 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003192/1.174, allocations: 1.683 MB / 1.327 GB, free: 15.57 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.01629/1.19, allocations: 9.292 MB / 1.336 GB, free: 5.848 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/1.192, allocations: 1.176 MB / 1.337 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/1.194, allocations: 0.8335 MB / 1.338 GB, free: 3.832 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002991/1.197, allocations: 2.91 MB / 1.341 GB, free: 284 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.741e-05/1.197, allocations: 47.88 kB / 1.341 GB, free: 228 kB / 1.061 GB Notification: Performance of pre-optimization done (n=148): time 5.32e-06/1.197, allocations: 4 kB / 1.341 GB, free: 224 kB / 1.061 GB Notification: Performance of matching and sorting (n=148): time 0.006543/1.203, allocations: 2.716 MB / 1.344 GB, free: 13.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/1.203, allocations: 90.42 kB / 1.344 GB, free: 13.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/1.208, allocations: 2.29 MB / 1.346 GB, free: 10.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003918/1.208, allocations: 61.7 kB / 1.346 GB, free: 10.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.21, allocations: 1.189 MB / 1.347 GB, free: 9.684 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008184/1.21, allocations: 0.516 MB / 1.348 GB, free: 9.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006004/1.211, allocations: 363.3 kB / 1.348 GB, free: 8.801 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.211, allocations: 301.1 kB / 1.348 GB, free: 8.504 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/1.212, allocations: 0.5865 MB / 1.349 GB, free: 7.914 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.214, allocations: 0.9335 MB / 1.35 GB, free: 6.855 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/1.216, allocations: 1.495 MB / 1.351 GB, free: 5.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.216, allocations: 0 / 1.351 GB, free: 5.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004758/1.221, allocations: 2.123 MB / 1.353 GB, free: 3.117 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.221, allocations: 8.625 kB / 1.353 GB, free: 3.109 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-05/1.221, allocations: 11.94 kB / 1.353 GB, free: 3.098 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.222, allocations: 280.9 kB / 1.354 GB, free: 2.805 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/1.224, allocations: 387.4 kB / 1.354 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/1.23, allocations: 7.718 MB / 1.362 GB, free: 10.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.232, allocations: 190 kB / 1.362 GB, free: 9.914 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/1.233, allocations: 83.97 kB / 1.362 GB, free: 9.832 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002168/1.235, allocations: 1.047 MB / 1.363 GB, free: 8.781 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001385/1.236, allocations: 0.9258 MB / 1.364 GB, free: 7.738 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002252/1.239, allocations: 1.484 MB / 1.365 GB, free: 6.168 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.674e-06/1.239, allocations: 4 kB / 1.365 GB, free: 6.164 MB / 1.092 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.004277/1.243, allocations: 2.061 MB / 1.367 GB, free: 4.074 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.243, allocations: 8 kB / 1.367 GB, free: 4.066 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.243, allocations: 15.94 kB / 1.367 GB, free: 4.051 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/1.244, allocations: 221.6 kB / 1.367 GB, free: 3.816 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.245, allocations: 383.4 kB / 1.368 GB, free: 3.441 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008752/1.254, allocations: 10.1 MB / 1.378 GB, free: 8.488 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/1.256, allocations: 162.7 kB / 1.378 GB, free: 8.328 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003773/1.257, allocations: 80.08 kB / 1.378 GB, free: 8.25 MB / 1.107 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.0007193/1.257, allocations: 279.8 kB / 1.378 GB, free: 7.969 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.258, allocations: 260.8 kB / 1.378 GB, free: 7.711 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/1.263, allocations: 2.025 MB / 1.38 GB, free: 5.691 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002684/1.266, allocations: 1.65 MB / 1.382 GB, free: 3.973 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.266, allocations: 0 / 1.382 GB, free: 3.973 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/1.267, allocations: 0.5481 MB / 1.382 GB, free: 3.402 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006988/1.268, allocations: 32 kB / 1.383 GB, free: 3.371 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.269, allocations: 39.97 kB / 1.383 GB, free: 3.332 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.27, allocations: 109.1 kB / 1.383 GB, free: 3.227 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00447/1.274, allocations: 1.916 MB / 1.385 GB, free: 1.285 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004445/1.279, allocations: 2.608 MB / 1.387 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001082/1.28, allocations: 0.6746 MB / 1.388 GB, free: 13.98 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003269/1.283, allocations: 1.547 MB / 1.389 GB, free: 12.43 MB / 1.123 GB Notification: Performance of Backend: time 5.41e-07/1.283, allocations: 0 / 1.389 GB, free: 12.43 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.294, allocations: 4.492 MB / 1.394 GB, free: 7.812 MB / 1.123 GB Notification: Performance of SimCode: time 0.01411/1.309, allocations: 6.368 MB / 1.4 GB, free: 1.414 MB / 1.123 GB Notification: Performance of Templates: time 0.1164/1.425, allocations: 68.13 MB / 1.466 GB, free: 13.93 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches