Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 209.1 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.593/3.593, allocations: 0.49 GB / 0.7959 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 62.94 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.521, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.09822/0.6192, allocations: 77.97 MB / 1.403 GB, free: 2.684 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04496/0.6642, allocations: 23.9 MB / 1.427 GB, free: 10.71 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007857/0.672, allocations: 166.7 kB / 1.427 GB, free: 10.55 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.008341/0.6804, allocations: 1.743 MB / 1.428 GB, free: 8.801 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01931/0.6997, allocations: 4.245 MB / 1.433 GB, free: 4.535 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01439/0.7141, allocations: 4.134 MB / 1.437 GB, free: 440 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.1474/0.8615, allocations: 76.8 MB / 1.512 GB, free: 3.445 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0536/0.9151, allocations: 23.45 MB / 1.535 GB, free: 11.82 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07629/0.9914, allocations: 25.24 MB / 1.559 GB, free: 2.629 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0554/1.047, allocations: 22.01 MB / 1.581 GB, free: 12.53 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.01856/1.065, allocations: 3.844 MB / 1.584 GB, free: 8.684 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03801/1.103, allocations: 6.925 MB / 1.591 GB, free: 1.758 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.02287/1.126, allocations: 8.617 MB / 1.6 GB, free: 9.113 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 2.33/3.456, allocations: 14.35 MB / 1.614 GB, free: 75.24 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.1293/3.586, allocations: 63.48 MB / 1.676 GB, free: 67.64 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/3.586, allocations: 0 / 1.676 GB, free: 67.64 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.066e-06/3.586, allocations: 0 / 1.676 GB, free: 67.64 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.002912/3.589, allocations: 0 / 1.676 GB, free: 67.64 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.1592/3.748, allocations: 32.08 MB / 1.707 GB, free: 52.09 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 8.29e-05/3.748, allocations: 10.12 kB / 1.707 GB, free: 52.09 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02913/3.777, allocations: 3.195 MB / 1.71 GB, free: 50.47 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09995/3.877, allocations: 30.75 MB / 1.74 GB, free: 40.22 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002205/3.879, allocations: 1.296 MB / 1.741 GB, free: 39.63 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01418/3.893, allocations: 1.77 MB / 1.743 GB, free: 39.03 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1174/4.011, allocations: 29.96 MB / 1.772 GB, free: 19.23 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001692/4.012, allocations: 52.91 kB / 1.772 GB, free: 19.21 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01139/4.024, allocations: 0.7126 MB / 1.773 GB, free: 18.66 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004409/4.024, allocations: 422.3 kB / 1.774 GB, free: 18.66 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08232/4.107, allocations: 23.68 MB / 1.797 GB, free: 6.336 MB / 1.295 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.2654/4.372, allocations: 83.42 MB / 1.878 GB, free: 5.992 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03449/4.406, allocations: 12.78 MB / 1.891 GB, free: 9.176 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02587/4.432, allocations: 9.087 MB / 1.899 GB, free: 52 kB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003095/4.435, allocations: 452.8 kB / 1.9 GB, free: 15.61 MB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003678/4.436, allocations: 159.3 kB / 1.9 GB, free: 15.44 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01796/4.454, allocations: 0.8909 MB / 1.901 GB, free: 14.55 MB / 1.404 GB Notification: Performance of pre-optimization done (n=1034): time 6.866e-05/4.454, allocations: 4 kB / 1.901 GB, free: 14.54 MB / 1.404 GB Notification: Performance of matching and sorting (n=1034): time 0.08731/4.541, allocations: 23.86 MB / 1.924 GB, free: 6.551 MB / 1.42 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/4.541, allocations: 155.5 kB / 1.924 GB, free: 6.383 MB / 1.42 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09482/4.636, allocations: 24.64 MB / 1.948 GB, free: 13.85 MB / 1.451 GB Notification: Performance of collectPreVariables (initialization): time 0.004779/4.641, allocations: 241.7 kB / 1.949 GB, free: 13.61 MB / 1.451 GB Notification: Performance of collectInitialEqns (initialization): time 0.02607/4.667, allocations: 11.07 MB / 1.959 GB, free: 2.547 MB / 1.451 GB Notification: Performance of collectInitialBindings (initialization): time 0.01191/4.679, allocations: 3.857 MB / 1.963 GB, free: 14.73 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02192/4.701, allocations: 3.229 MB / 1.966 GB, free: 11.5 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 0.0001934/4.701, allocations: 308.9 kB / 1.967 GB, free: 11.2 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02219/4.723, allocations: 8.24 MB / 1.975 GB, free: 2.945 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03/4.753, allocations: 13.58 MB / 1.988 GB, free: 3.73 MB / 1.483 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04743/4.801, allocations: 19.43 MB / 2.007 GB, free: 15.44 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/4.801, allocations: 20 kB / 2.007 GB, free: 15.42 MB / 1.514 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.08262/4.883, allocations: 24.33 MB / 2.031 GB, free: 7.418 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/4.884, allocations: 45.91 kB / 2.031 GB, free: 7.379 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00043/4.884, allocations: 112 kB / 2.031 GB, free: 7.27 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005756/4.89, allocations: 2.121 MB / 2.033 GB, free: 5.039 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01906/4.909, allocations: 3.523 MB / 2.036 GB, free: 1.711 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07254/4.981, allocations: 68.3 MB / 2.103 GB, free: 9.879 MB / 1.608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03888/5.02, allocations: 1.081 MB / 2.104 GB, free: 8.797 MB / 1.608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007291/5.027, allocations: 0.6014 MB / 2.105 GB, free: 8.195 MB / 1.608 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06107/5.089, allocations: 17.53 MB / 2.122 GB, free: 6.645 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03134/5.12, allocations: 13.56 MB / 2.135 GB, free: 7.441 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06209/5.182, allocations: 19.41 MB / 2.154 GB, free: 3.168 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002041/5.182, allocations: 27.98 kB / 2.154 GB, free: 3.141 MB / 1.654 GB Notification: Performance of matching and sorting (n=1984) (initialization_lambda0): time 0.083/5.265, allocations: 24.31 MB / 2.178 GB, free: 11.16 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-05/5.265, allocations: 36 kB / 2.178 GB, free: 11.12 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004019/5.266, allocations: 108 kB / 2.178 GB, free: 11.02 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/5.271, allocations: 2.088 MB / 2.18 GB, free: 8.816 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0178/5.289, allocations: 3.524 MB / 2.183 GB, free: 5.484 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06913/5.358, allocations: 69.4 MB / 2.251 GB, free: 12.4 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0279/5.386, allocations: 1.273 MB / 2.252 GB, free: 11.12 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005897/5.392, allocations: 0.5976 MB / 2.253 GB, free: 10.52 MB / 1.764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (1820): * Single equations (assignments): 1769 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 40 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.008586/5.4, allocations: 1.013 MB / 2.254 GB, free: 9.699 MB / 1.764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01159/5.412, allocations: 1.968 MB / 2.256 GB, free: 7.719 MB / 1.764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.299/6.711, allocations: 17.83 MB / 2.273 GB, free: 0.6041 GB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04205/6.753, allocations: 14.43 MB / 2.287 GB, free: 0.6034 GB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.207e-05/6.753, allocations: 0 / 2.287 GB, free: 0.6034 GB / 1.764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02438/6.778, allocations: 4.627 MB / 2.292 GB, free: 0.6034 GB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01429/6.792, allocations: 249.3 kB / 2.292 GB, free: 0.6034 GB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02512/6.817, allocations: 0.646 MB / 2.293 GB, free: 0.6034 GB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005201/6.822, allocations: 0.7117 MB / 2.294 GB, free: 0.6034 GB / 1.764 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06067/6.883, allocations: 18.88 MB / 2.312 GB, free: 0.5976 GB / 1.764 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.07388/6.957, allocations: 25.27 MB / 2.337 GB, free: 0.5889 GB / 1.764 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0162/6.973, allocations: 6.886 MB / 2.343 GB, free: 0.5863 GB / 1.764 GB Notification: Performance of sorting global known variables: time 0.05792/7.031, allocations: 17.22 MB / 2.36 GB, free: 0.578 GB / 1.764 GB Notification: Performance of Backend: time 1.573e-06/7.031, allocations: 0 / 2.36 GB, free: 0.578 GB / 1.764 GB Notification: Performance of simCode: created initialization part: time 0.1087/7.14, allocations: 33.89 MB / 2.393 GB, free: 0.5479 GB / 1.764 GB Notification: Performance of SimCode: time 0.207/7.347, allocations: 60.68 MB / 2.453 GB, free: 0.4894 GB / 1.764 GB Notification: Performance of Templates: time 1.846/9.193, allocations: 0.529 GB / 2.982 GB, free: 0.5696 GB / 1.764 GB " [Timeout remaining time 291] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 34.06167715400079]