Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.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.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001668, allocations: 119 kB / 16.42 MB, free: 6.473 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.002288/0.002288, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.462/1.462, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.495/2.495, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 67.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191/1.193, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.1049/1.298, allocations: 84.99 MB / 1.25 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04318/1.341, allocations: 25.79 MB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006888/1.348, allocations: 119.4 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00703/1.355, allocations: 1.796 MB / 1.277 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/1.37, allocations: 4.142 MB / 1.281 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01334/1.383, allocations: 4.007 MB / 1.285 GB, free: 10.63 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.1403/1.523, allocations: 75.28 MB / 1.359 GB, free: 15.17 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08063/1.604, allocations: 34.75 MB / 1.393 GB, free: 12.24 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07195/1.676, allocations: 24.4 MB / 1.417 GB, free: 3.895 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05051/1.727, allocations: 21.27 MB / 1.437 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.01546/1.742, allocations: 3.848 MB / 1.441 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03581/1.778, allocations: 7.054 MB / 1.448 GB, free: 3.641 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.02135/1.799, allocations: 8.336 MB / 1.456 GB, free: 11.28 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.05343/1.853, allocations: 17.94 MB / 1.474 GB, free: 9.27 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.106/1.959, allocations: 62.8 MB / 1.535 GB, free: 10.29 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-05/1.959, allocations: 4 kB / 1.535 GB, free: 10.28 MB / 1.264 GB Notification: Performance of FrontEnd: time 6.483e-06/1.959, allocations: 0 / 1.535 GB, free: 10.28 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.002178/1.961, allocations: 3.938 kB / 1.535 GB, free: 10.28 MB / 1.264 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 1.919/3.881, allocations: 31.26 MB / 1.566 GB, free: 325.5 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/3.881, allocations: 9.391 kB / 1.566 GB, free: 325.5 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01921/3.9, allocations: 3.043 MB / 1.569 GB, free: 324.1 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07071/3.971, allocations: 30.01 MB / 1.598 GB, free: 305 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001729/3.973, allocations: 1.299 MB / 1.599 GB, free: 303.7 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008769/3.981, allocations: 1.769 MB / 1.601 GB, free: 301.9 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.068/4.049, allocations: 26.66 MB / 1.627 GB, free: 274.8 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001076/4.051, allocations: 55.52 kB / 1.627 GB, free: 274.7 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007283/4.058, allocations: 0.7148 MB / 1.628 GB, free: 274 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002949/4.058, allocations: 420 kB / 1.628 GB, free: 273.6 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05248/4.111, allocations: 23.7 MB / 1.651 GB, free: 249.9 MB / 1.279 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.1794/4.29, allocations: 105.8 MB / 1.754 GB, free: 140.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/4.312, allocations: 13.48 MB / 1.768 GB, free: 127.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01666/4.329, allocations: 9.739 MB / 1.777 GB, free: 117.5 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002857/4.332, allocations: 2.633 MB / 1.78 GB, free: 114.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/4.332, allocations: 167.3 kB / 1.78 GB, free: 114.2 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01281/4.345, allocations: 1.081 MB / 1.781 GB, free: 113.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=1034): time 3.919e-05/4.345, allocations: 4 kB / 1.781 GB, free: 113.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=1034): time 0.05845/4.403, allocations: 27.14 MB / 1.807 GB, free: 84.92 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/4.404, allocations: 155.5 kB / 1.808 GB, free: 84.75 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05635/4.46, allocations: 27.04 MB / 1.834 GB, free: 57.83 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.00317/4.463, allocations: 241.7 kB / 1.834 GB, free: 57.59 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.01364/4.477, allocations: 10.94 MB / 1.845 GB, free: 46.57 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.006491/4.483, allocations: 3.678 MB / 1.849 GB, free: 42.84 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008252/4.492, allocations: 3.212 MB / 1.852 GB, free: 39.62 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/4.492, allocations: 309.1 kB / 1.852 GB, free: 39.32 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01343/4.505, allocations: 8.24 MB / 1.86 GB, free: 31.07 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02121/4.526, allocations: 11.93 MB / 1.872 GB, free: 17.85 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03643/4.563, allocations: 19.43 MB / 1.891 GB, free: 13.23 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/4.563, allocations: 27.66 kB / 1.891 GB, free: 13.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.07483/4.638, allocations: 24.47 MB / 1.915 GB, free: 4.508 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/4.638, allocations: 40 kB / 1.915 GB, free: 4.469 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003579/4.638, allocations: 112 kB / 1.915 GB, free: 4.359 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005312/4.644, allocations: 2.123 MB / 1.917 GB, free: 2.109 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01558/4.659, allocations: 3.53 MB / 1.92 GB, free: 14.57 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06926/4.729, allocations: 73.71 MB / 1.992 GB, free: 15.3 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02194/4.751, allocations: 1.081 MB / 1.993 GB, free: 14.21 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004387/4.755, allocations: 0.6015 MB / 1.994 GB, free: 13.61 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03949/4.795, allocations: 17.51 MB / 2.011 GB, free: 12.08 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02387/4.818, allocations: 11.91 MB / 2.023 GB, free: 14.89 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03958/4.858, allocations: 19.42 MB / 2.042 GB, free: 10.27 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001258/4.858, allocations: 20 kB / 2.042 GB, free: 10.25 MB / 1.451 GB Notification: Performance of matching and sorting (n=1984) (initialization_lambda0): time 0.06923/4.928, allocations: 24.44 MB / 2.065 GB, free: 1.578 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/4.928, allocations: 40 kB / 2.065 GB, free: 1.539 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003694/4.928, allocations: 112 kB / 2.066 GB, free: 1.43 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004917/4.933, allocations: 2.088 MB / 2.068 GB, free: 15.21 MB / 1.483 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01604/4.949, allocations: 3.522 MB / 2.071 GB, free: 11.69 MB / 1.483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8932/5.842, allocations: 74.99 MB / 2.144 GB, free: 0.5029 GB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02492/5.867, allocations: 1.272 MB / 2.146 GB, free: 0.5029 GB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004621/5.872, allocations: 0.595 MB / 2.146 GB, free: 0.5029 GB / 1.545 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.007699/5.88, allocations: 1.009 MB / 2.147 GB, free: 0.5027 GB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01075/5.89, allocations: 2.07 MB / 2.149 GB, free: 0.5027 GB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0445/5.935, allocations: 18 MB / 2.167 GB, free: 0.5019 GB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02903/5.964, allocations: 14.48 MB / 2.181 GB, free: 0.498 GB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.552e-05/5.964, allocations: 0 / 2.181 GB, free: 0.498 GB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01763/5.982, allocations: 4.685 MB / 2.185 GB, free: 0.4965 GB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01212/5.994, allocations: 244.3 kB / 2.186 GB, free: 0.4963 GB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01852/6.012, allocations: 0.64 MB / 2.186 GB, free: 0.4962 GB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003329/6.016, allocations: 0.6841 MB / 2.187 GB, free: 0.4961 GB / 1.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04358/6.059, allocations: 18.97 MB / 2.205 GB, free: 0.4902 GB / 1.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04174/6.101, allocations: 25.37 MB / 2.23 GB, free: 489.5 MB / 1.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01166/6.113, allocations: 7.222 MB / 2.237 GB, free: 483.6 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.04602/6.159, allocations: 19.18 MB / 2.256 GB, free: 465.7 MB / 1.545 GB Notification: Performance of Backend: time 8.92e-07/6.159, allocations: 0 / 2.256 GB, free: 465.7 MB / 1.545 GB Notification: Performance of simCode: created initialization part: time 0.07519/6.234, allocations: 35.39 MB / 2.291 GB, free: 429.8 MB / 1.545 GB Notification: Performance of SimCode: time 0.1478/6.382, allocations: 62.57 MB / 2.352 GB, free: 368 MB / 1.545 GB Notification: Performance of Templates: time 1.629/8.011, allocations: 0.5292 GB / 2.881 GB, free: 440.1 MB / 1.561 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches