Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.BoreholeTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_latest_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_latest_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.001718/0.001718, allocations: 108.7 kB / 16.41 MB, free: 6.453 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.001882/0.001882, allocations: 181.7 kB / 17.34 MB, free: 5.742 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.433/1.433, 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 11.0.1-master/package.mo): time 2.622/2.622, allocations: 469.4 MB / 0.7428 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.84 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.0855/1.104, allocations: 84.99 MB / 1.304 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03687/1.141, allocations: 25.78 MB / 1.329 GB, free: 3.184 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005851/1.147, allocations: 123.3 kB / 1.329 GB, free: 3.062 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006231/1.153, allocations: 1.788 MB / 1.331 GB, free: 1.266 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01235/1.166, allocations: 4.158 MB / 1.335 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01144/1.177, allocations: 4.012 MB / 1.339 GB, free: 9.109 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.1197/1.297, allocations: 75.28 MB / 1.412 GB, free: 13.66 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07087/1.368, allocations: 34.76 MB / 1.446 GB, free: 10.73 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05537/1.423, allocations: 24.39 MB / 1.47 GB, free: 2.375 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04303/1.466, allocations: 21.26 MB / 1.491 GB, free: 13.03 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.01279/1.479, allocations: 3.852 MB / 1.495 GB, free: 9.18 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0308/1.51, allocations: 7.057 MB / 1.502 GB, free: 2.121 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.01849/1.529, allocations: 8.336 MB / 1.51 GB, free: 9.762 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.04556/1.574, allocations: 17.94 MB / 1.527 GB, free: 7.754 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 1.824/3.398, allocations: 62.8 MB / 1.589 GB, free: 138.6 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/3.398, allocations: 0 / 1.589 GB, free: 138.6 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.044e-06/3.398, allocations: 0 / 1.589 GB, free: 138.6 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.002131/3.401, allocations: 1 kB / 1.589 GB, free: 138.6 MB / 1.279 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.1218/3.522, allocations: 31.27 MB / 1.619 GB, free: 127.9 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 8.797e-05/3.523, allocations: 15.3 kB / 1.619 GB, free: 127.9 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02868/3.551, allocations: 3.033 MB / 1.622 GB, free: 126.4 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08145/3.633, allocations: 30.01 MB / 1.651 GB, free: 119.8 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001844/3.635, allocations: 1.3 MB / 1.653 GB, free: 119.7 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01244/3.647, allocations: 1.759 MB / 1.654 GB, free: 119.7 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1014/3.749, allocations: 26.66 MB / 1.68 GB, free: 107.7 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001575/3.75, allocations: 63.92 kB / 1.681 GB, free: 107.7 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01232/3.762, allocations: 0.7081 MB / 1.681 GB, free: 107.1 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003922/3.763, allocations: 420.6 kB / 1.682 GB, free: 107.1 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06889/3.832, allocations: 23.7 MB / 1.705 GB, free: 90.78 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.2357/4.068, allocations: 105.8 MB / 1.808 GB, free: 15.13 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03233/4.1, allocations: 13.48 MB / 1.821 GB, free: 1.621 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02261/4.123, allocations: 9.744 MB / 1.831 GB, free: 7.828 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004325/4.127, allocations: 2.633 MB / 1.833 GB, free: 4.688 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/4.127, allocations: 159.3 kB / 1.833 GB, free: 4.52 MB / 1.326 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01642/4.144, allocations: 1.081 MB / 1.835 GB, free: 3.43 MB / 1.326 GB Notification: Performance of pre-optimization done (n=1034): time 4.634e-05/4.144, allocations: 0 / 1.835 GB, free: 3.43 MB / 1.326 GB Notification: Performance of matching and sorting (n=1034): time 0.07842/4.222, allocations: 27.14 MB / 1.861 GB, free: 7.367 MB / 1.358 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/4.222, allocations: 157.4 kB / 1.861 GB, free: 7.199 MB / 1.358 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07198/4.294, allocations: 27.05 MB / 1.888 GB, free: 12.27 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.005462/4.3, allocations: 239.2 kB / 1.888 GB, free: 12.04 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.0261/4.326, allocations: 10.93 MB / 1.899 GB, free: 1.102 MB / 1.389 GB Notification: Performance of collectInitialBindings (initialization): time 0.01033/4.336, allocations: 3.687 MB / 1.902 GB, free: 13.45 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01813/4.355, allocations: 3.216 MB / 1.905 GB, free: 10.22 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.0001103/4.355, allocations: 305.1 kB / 1.906 GB, free: 9.922 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01858/4.373, allocations: 8.244 MB / 1.914 GB, free: 1.668 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02514/4.399, allocations: 11.92 MB / 1.925 GB, free: 4.504 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0398/4.438, allocations: 19.44 MB / 1.944 GB, free: 208 kB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/4.439, allocations: 20 kB / 1.944 GB, free: 188 kB / 1.436 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.07312/4.512, allocations: 24.47 MB / 1.968 GB, free: 8.023 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/4.512, allocations: 36 kB / 1.968 GB, free: 7.988 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004602/4.512, allocations: 112 kB / 1.968 GB, free: 7.879 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005067/4.517, allocations: 2.126 MB / 1.97 GB, free: 5.645 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01748/4.535, allocations: 3.526 MB / 1.974 GB, free: 2.312 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06525/4.6, allocations: 73.71 MB / 2.046 GB, free: 3.492 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02758/4.628, allocations: 1.082 MB / 2.047 GB, free: 2.41 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005017/4.633, allocations: 0.5937 MB / 2.047 GB, free: 1.816 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04298/4.676, allocations: 17.52 MB / 2.065 GB, free: 284 kB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0262/4.702, allocations: 11.9 MB / 2.076 GB, free: 3.129 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04071/4.743, allocations: 19.43 MB / 2.095 GB, free: 14.84 MB / 1.608 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001097/4.743, allocations: 20 kB / 2.095 GB, free: 14.82 MB / 1.608 GB Notification: Performance of matching and sorting (n=1984) (initialization_lambda0): time 0.0652/4.808, allocations: 24.43 MB / 2.119 GB, free: 6.695 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/4.809, allocations: 51.95 kB / 2.119 GB, free: 6.645 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003925/4.809, allocations: 108 kB / 2.119 GB, free: 6.539 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004809/4.814, allocations: 2.089 MB / 2.121 GB, free: 4.34 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01575/4.829, allocations: 3.536 MB / 2.125 GB, free: 1.004 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9616/5.791, allocations: 74.98 MB / 2.198 GB, free: 0.5902 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02304/5.814, allocations: 1.283 MB / 2.199 GB, free: 0.5902 GB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004245/5.818, allocations: 0.592 MB / 2.2 GB, free: 0.5902 GB / 1.686 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.006607/5.825, allocations: 1.019 MB / 2.201 GB, free: 0.59 GB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009444/5.835, allocations: 2.067 MB / 2.203 GB, free: 0.59 GB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03994/5.875, allocations: 17.99 MB / 2.22 GB, free: 0.5892 GB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02648/5.901, allocations: 14.48 MB / 2.234 GB, free: 0.5857 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/5.901, allocations: 0 / 2.234 GB, free: 0.5857 GB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01969/5.921, allocations: 4.692 MB / 2.239 GB, free: 0.5842 GB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01273/5.934, allocations: 239.7 kB / 2.239 GB, free: 0.584 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01793/5.952, allocations: 0.6489 MB / 2.24 GB, free: 0.5839 GB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003592/5.955, allocations: 0.6827 MB / 2.241 GB, free: 0.5838 GB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05047/6.006, allocations: 18.97 MB / 2.259 GB, free: 0.5779 GB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05723/6.063, allocations: 25.38 MB / 2.284 GB, free: 0.5662 GB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01305/6.076, allocations: 7.213 MB / 2.291 GB, free: 0.5604 GB / 1.686 GB Notification: Performance of sorting global known variables: time 0.05328/6.129, allocations: 19.18 MB / 2.31 GB, free: 0.5445 GB / 1.686 GB Notification: Performance of Backend: time 1.132e-06/6.129, allocations: 0 / 2.31 GB, free: 0.5445 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.09826/6.228, allocations: 35.39 MB / 2.344 GB, free: 0.5095 GB / 1.686 GB Notification: Performance of SimCode: time 0.1492/6.377, allocations: 62.56 MB / 2.405 GB, free: 460 MB / 1.686 GB Notification: Performance of Templates: time 1.527/7.904, allocations: 0.5292 GB / 2.934 GB, free: 0.5283 GB / 1.686 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches