Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.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.BoreholeDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBor1UTubDyn.T|TBor1UTubSteSta.T|TBor2UTubDyn.T|TBor2UTubSteSta.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBor1UTubDyn.T|TBor1UTubSteSta.T|TBor2UTubDyn.T|TBor2UTubSteSta.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.00227/0.00227, allocations: 186.6 kB / 17.35 MB, free: 5.754 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.418/1.418, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.479/2.479, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 68.11 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.03, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.3163/1.347, allocations: 292.5 MB / 1.453 GB, free: 14.33 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.1168/1.463, allocations: 70.62 MB / 1.522 GB, free: 7.531 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02017/1.484, allocations: 381.9 kB / 1.522 GB, free: 7.156 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.01843/1.502, allocations: 5.048 MB / 1.527 GB, free: 2.078 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.04724/1.549, allocations: 13.53 MB / 1.541 GB, free: 4.492 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.0287/1.578, allocations: 9.348 MB / 1.55 GB, free: 11.2 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 1.352/2.93, allocations: 222.6 MB / 1.767 GB, free: 3.852 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2291/3.159, allocations: 104.5 MB / 1.869 GB, free: 12.82 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1868/3.346, allocations: 73.81 MB / 1.941 GB, free: 6.141 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1307/3.477, allocations: 63.4 MB / 2.003 GB, free: 10.66 MB / 1.529 GB Notification: Performance of NFPackage.collectConstants: time 0.03926/3.516, allocations: 10.97 MB / 2.014 GB, free: 15.68 MB / 1.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09586/3.612, allocations: 18.09 MB / 2.031 GB, free: 14.14 MB / 1.561 GB Notification: Performance of NFScalarize.scalarize: time 0.0661/3.678, allocations: 24.49 MB / 2.055 GB, free: 5.992 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.1708/3.849, allocations: 53.1 MB / 2.107 GB, free: 1.043 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 2.379/6.228, allocations: 183 MB / 2.286 GB, free: 283 MB / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/6.228, allocations: 2.625 kB / 2.286 GB, free: 283 MB / 1.686 GB Notification: Performance of FrontEnd: time 2.686e-06/6.229, allocations: 1.703 kB / 2.286 GB, free: 283 MB / 1.686 GB Notification: Performance of Transformations before backend: time 0.007119/6.236, allocations: 3.656 kB / 2.286 GB, free: 283 MB / 1.686 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12889 * Number of variables: 12889 Notification: Performance of Generate backend data structure: time 0.3625/6.598, allocations: 95.98 MB / 2.38 GB, free: 236.6 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/6.598, allocations: 9.688 kB / 2.38 GB, free: 236.6 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06684/6.665, allocations: 9.63 MB / 2.389 GB, free: 231.7 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2247/6.89, allocations: 91.91 MB / 2.479 GB, free: 190.6 MB / 1.686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004651/6.895, allocations: 3.798 MB / 2.483 GB, free: 186.9 MB / 1.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02976/6.924, allocations: 5.059 MB / 2.487 GB, free: 181.9 MB / 1.686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2323/7.157, allocations: 77.38 MB / 2.563 GB, free: 102.8 MB / 1.686 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003392/7.16, allocations: 147.6 kB / 2.563 GB, free: 102.7 MB / 1.686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02536/7.185, allocations: 2.098 MB / 2.565 GB, free: 100.7 MB / 1.686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001717/7.187, allocations: 1.454 MB / 2.567 GB, free: 99.23 MB / 1.686 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1681/7.355, allocations: 66.23 MB / 2.631 GB, free: 33.41 MB / 1.686 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 2.545/9.9, allocations: 381.6 MB / 3.004 GB, free: 0.5171 GB / 1.858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09617/9.997, allocations: 40.75 MB / 3.044 GB, free: 0.5054 GB / 1.858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05969/10.06, allocations: 25.89 MB / 3.069 GB, free: 0.4963 GB / 1.858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/10.07, allocations: 5.247 MB / 3.074 GB, free: 0.491 GB / 1.858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/10.07, allocations: 399.1 kB / 3.075 GB, free: 0.4907 GB / 1.858 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05642/10.12, allocations: 3.167 MB / 3.078 GB, free: 0.4903 GB / 1.858 GB Notification: Performance of pre-optimization done (n=2661): time 0.0001464/10.12, allocations: 0 / 3.078 GB, free: 0.4903 GB / 1.858 GB Notification: Performance of matching and sorting (n=2661): time 0.1948/10.32, allocations: 68.65 MB / 3.145 GB, free: 465 MB / 1.858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003262/10.32, allocations: 0.8248 MB / 3.146 GB, free: 464.1 MB / 1.858 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2618/10.58, allocations: 86.45 MB / 3.23 GB, free: 378.9 MB / 1.858 GB Notification: Performance of collectPreVariables (initialization): time 0.01219/10.59, allocations: 0.6032 MB / 3.231 GB, free: 378.3 MB / 1.858 GB Notification: Performance of collectInitialEqns (initialization): time 0.06984/10.66, allocations: 36.16 MB / 3.266 GB, free: 344.3 MB / 1.858 GB Notification: Performance of collectInitialBindings (initialization): time 0.0216/10.69, allocations: 9.916 MB / 3.276 GB, free: 334.5 MB / 1.858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04756/10.73, allocations: 8.85 MB / 3.284 GB, free: 325.6 MB / 1.858 GB Notification: Performance of setup shared object (initialization): time 6.001e-05/10.73, allocations: 309.1 kB / 3.284 GB, free: 325.3 MB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05281/10.79, allocations: 21.97 MB / 3.306 GB, free: 303.3 MB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07075/10.86, allocations: 32.96 MB / 3.338 GB, free: 266.5 MB / 1.858 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.099/10.96, allocations: 51.85 MB / 3.389 GB, free: 211.9 MB / 1.858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00047/10.96, allocations: 68 kB / 3.389 GB, free: 211.9 MB / 1.858 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1912/11.15, allocations: 69.86 MB / 3.457 GB, free: 142.3 MB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/11.15, allocations: 104 kB / 3.457 GB, free: 142.2 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001344/11.15, allocations: 356 kB / 3.457 GB, free: 141.9 MB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05434/11.2, allocations: 41.14 MB / 3.498 GB, free: 100.4 MB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03464/11.24, allocations: 7.801 MB / 3.505 GB, free: 92.57 MB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331/12.57, allocations: 134.4 MB / 3.637 GB, free: 0.5837 GB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08261/12.65, allocations: 3.066 MB / 3.64 GB, free: 0.5837 GB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01269/12.66, allocations: 1.618 MB / 3.641 GB, free: 0.5837 GB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1226/12.79, allocations: 49.96 MB / 3.69 GB, free: 0.5795 GB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06636/12.85, allocations: 32.93 MB / 3.722 GB, free: 0.5604 GB / 1.858 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.103/12.96, allocations: 51.8 MB / 3.773 GB, free: 0.5338 GB / 1.858 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0005467/12.96, allocations: 67.53 kB / 3.773 GB, free: 0.5338 GB / 1.858 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.1597/13.12, allocations: 69.8 MB / 3.841 GB, free: 0.4985 GB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/13.12, allocations: 111.9 kB / 3.841 GB, free: 0.4984 GB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00103/13.12, allocations: 358.8 kB / 3.841 GB, free: 0.498 GB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04786/13.17, allocations: 41.06 MB / 3.881 GB, free: 470.9 MB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03128/13.2, allocations: 7.8 MB / 3.889 GB, free: 464.2 MB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0932/13.29, allocations: 137 MB / 4.023 GB, free: 319.7 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07157/13.36, allocations: 3.718 MB / 4.026 GB, free: 316.1 MB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01195/13.37, allocations: 1.617 MB / 4.028 GB, free: 314.4 MB / 1.858 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1088 * 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 (4218): * Single equations (assignments): 4114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 64 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 60 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%), (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): 4 systems {(32,530), (1,4), (1,4), (11,229)} Notification: Performance of prepare postOptimizeDAE: time 0.02029/13.39, allocations: 2.429 MB / 4.03 GB, free: 312.2 MB / 1.858 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03208/13.43, allocations: 6.702 MB / 4.037 GB, free: 307.6 MB / 1.858 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.133/13.56, allocations: 52.07 MB / 4.088 GB, free: 255.5 MB / 1.858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08667/13.65, allocations: 40.3 MB / 4.127 GB, free: 214.9 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001418/13.65, allocations: 0 / 4.127 GB, free: 214.9 MB / 1.858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04766/13.69, allocations: 13.79 MB / 4.141 GB, free: 201.1 MB / 1.858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02889/13.72, allocations: 0.5312 MB / 4.141 GB, free: 200.6 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05007/13.77, allocations: 2.032 MB / 4.143 GB, free: 198.6 MB / 1.858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007732/13.78, allocations: 1.561 MB / 4.145 GB, free: 197 MB / 1.858 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1147/13.9, allocations: 55.88 MB / 4.199 GB, free: 141.4 MB / 1.858 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1242/14.02, allocations: 64.38 MB / 4.262 GB, free: 76.91 MB / 1.858 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02662/14.05, allocations: 18.63 MB / 4.28 GB, free: 58.25 MB / 1.858 GB Notification: Performance of sorting global known variables: time 1.103/15.15, allocations: 61.54 MB / 4.34 GB, free: 0.5561 GB / 1.858 GB Notification: Performance of Backend: time 2.074e-06/15.15, allocations: 0 / 4.34 GB, free: 0.5561 GB / 1.858 GB Notification: Performance of simCode: created initialization part: time 0.2239/15.37, allocations: 86.02 MB / 4.424 GB, free: 0.5235 GB / 1.858 GB Notification: Performance of SimCode: time 0.5229/15.9, allocations: 195.1 MB / 4.615 GB, free: 419.9 MB / 1.858 GB Notification: Performance of Templates: time 4.876/20.77, allocations: 1.604 GB / 6.219 GB, free: 141.7 MB / 1.858 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeDynamics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches