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.001212/0.001212, allocations: 112.4 kB / 16.42 MB, free: 6.512 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.001573/0.001573, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.5/1.5, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.646/2.646, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.89 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.03, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.321/1.351, allocations: 292.6 MB / 1.453 GB, free: 14.28 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.1118/1.463, allocations: 70.6 MB / 1.522 GB, free: 7.48 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02055/1.484, allocations: 385.9 kB / 1.522 GB, free: 7.102 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.02116/1.505, allocations: 5.052 MB / 1.527 GB, free: 2.02 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.04492/1.55, allocations: 13.53 MB / 1.541 GB, free: 4.434 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.02761/1.578, allocations: 9.345 MB / 1.55 GB, free: 11.13 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 1.393/2.971, allocations: 222.8 MB / 1.767 GB, free: 3.512 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2204/3.192, allocations: 104.6 MB / 1.869 GB, free: 12.28 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.185/3.377, allocations: 73.89 MB / 1.942 GB, free: 5.52 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1412/3.518, allocations: 63.4 MB / 2.003 GB, free: 10.04 MB / 1.529 GB Notification: Performance of NFPackage.collectConstants: time 0.04301/3.561, allocations: 10.98 MB / 2.014 GB, free: 15.06 MB / 1.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09843/3.659, allocations: 18.09 MB / 2.032 GB, free: 13.52 MB / 1.561 GB Notification: Performance of NFScalarize.scalarize: time 0.05698/3.716, allocations: 24.48 MB / 2.056 GB, free: 5.387 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.1661/3.883, allocations: 53.1 MB / 2.108 GB, free: 440 kB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 2.512/6.394, allocations: 182.5 MB / 2.286 GB, free: 283.6 MB / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/6.395, allocations: 0 / 2.286 GB, free: 283.6 MB / 1.686 GB Notification: Performance of FrontEnd: time 3.156e-06/6.395, allocations: 3.016 kB / 2.286 GB, free: 283.6 MB / 1.686 GB Notification: Performance of Transformations before backend: time 0.006697/6.401, allocations: 3.812 kB / 2.286 GB, free: 283.6 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.367/6.768, allocations: 93.51 MB / 2.377 GB, free: 239.7 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/6.768, allocations: 11.66 kB / 2.377 GB, free: 239.7 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06934/6.838, allocations: 9.194 MB / 2.386 GB, free: 235.1 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2198/7.058, allocations: 91.35 MB / 2.475 GB, free: 194.7 MB / 1.686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004297/7.062, allocations: 3.801 MB / 2.479 GB, free: 191.1 MB / 1.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02728/7.089, allocations: 5.06 MB / 2.484 GB, free: 186.1 MB / 1.686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2395/7.329, allocations: 77.38 MB / 2.56 GB, free: 107 MB / 1.686 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003073/7.332, allocations: 144 kB / 2.56 GB, free: 106.9 MB / 1.686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0253/7.357, allocations: 2.095 MB / 2.562 GB, free: 104.9 MB / 1.686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001429/7.359, allocations: 1.468 MB / 2.563 GB, free: 103.4 MB / 1.686 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1602/7.519, allocations: 66.23 MB / 2.628 GB, free: 37.58 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.543/10.06, allocations: 380.9 MB / 3 GB, free: 0.5214 GB / 1.858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.078/10.14, allocations: 40.76 MB / 3.04 GB, free: 0.5099 GB / 1.858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04364/10.18, allocations: 25.89 MB / 3.065 GB, free: 0.5008 GB / 1.858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006293/10.19, allocations: 5.239 MB / 3.07 GB, free: 0.4955 GB / 1.858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006673/10.19, allocations: 406.6 kB / 3.071 GB, free: 0.4952 GB / 1.858 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0419/10.23, allocations: 3.068 MB / 3.074 GB, free: 0.4948 GB / 1.858 GB Notification: Performance of pre-optimization done (n=2661): time 0.0003009/10.23, allocations: 2.078 kB / 3.074 GB, free: 0.4948 GB / 1.858 GB Notification: Performance of matching and sorting (n=2661): time 0.1711/10.4, allocations: 68.32 MB / 3.14 GB, free: 470.6 MB / 1.858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002977/10.4, allocations: 0.8303 MB / 3.141 GB, free: 469.6 MB / 1.858 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2045/10.61, allocations: 86.41 MB / 3.225 GB, free: 384.4 MB / 1.858 GB Notification: Performance of collectPreVariables (initialization): time 0.01065/10.62, allocations: 0.6071 MB / 3.226 GB, free: 383.8 MB / 1.858 GB Notification: Performance of collectInitialEqns (initialization): time 0.05888/10.68, allocations: 35.61 MB / 3.261 GB, free: 349.9 MB / 1.858 GB Notification: Performance of collectInitialBindings (initialization): time 0.01874/10.7, allocations: 9.47 MB / 3.27 GB, free: 340.5 MB / 1.858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.05103/10.75, allocations: 8.81 MB / 3.279 GB, free: 331.7 MB / 1.858 GB Notification: Performance of setup shared object (initialization): time 0.0001076/10.75, allocations: 305.1 kB / 3.279 GB, free: 331.4 MB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05137/10.8, allocations: 21.97 MB / 3.3 GB, free: 309.4 MB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06433/10.86, allocations: 32.96 MB / 3.333 GB, free: 272.6 MB / 1.858 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09719/10.96, allocations: 51.85 MB / 3.383 GB, free: 218.1 MB / 1.858 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004967/10.96, allocations: 70.72 kB / 3.383 GB, free: 218 MB / 1.858 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1774/11.14, allocations: 69.53 MB / 3.451 GB, free: 148.8 MB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/11.14, allocations: 112 kB / 3.451 GB, free: 148.7 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001066/11.14, allocations: 351.8 kB / 3.452 GB, free: 148.3 MB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05009/11.19, allocations: 41.14 MB / 3.492 GB, free: 106.8 MB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03165/11.22, allocations: 7.8 MB / 3.499 GB, free: 99.04 MB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228/12.45, allocations: 134.3 MB / 3.631 GB, free: 0.5877 GB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07962/12.53, allocations: 3.062 MB / 3.634 GB, free: 0.5877 GB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01348/12.54, allocations: 1.619 MB / 3.635 GB, free: 0.5877 GB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1116/12.66, allocations: 49.96 MB / 3.684 GB, free: 0.5843 GB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0547/12.71, allocations: 32.93 MB / 3.716 GB, free: 0.5651 GB / 1.858 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08271/12.79, allocations: 51.8 MB / 3.767 GB, free: 0.5386 GB / 1.858 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003797/12.79, allocations: 66.48 kB / 3.767 GB, free: 0.5386 GB / 1.858 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.1628/12.96, allocations: 69.49 MB / 3.835 GB, free: 0.5043 GB / 1.858 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002583/12.96, allocations: 109.8 kB / 3.835 GB, free: 0.5042 GB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001515/12.96, allocations: 359.4 kB / 3.835 GB, free: 0.5039 GB / 1.858 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05098/13.01, allocations: 41.07 MB / 3.875 GB, free: 476.8 MB / 1.858 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03088/13.04, allocations: 7.801 MB / 3.883 GB, free: 470.1 MB / 1.858 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09917/13.14, allocations: 136.9 MB / 4.017 GB, free: 326.3 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07308/13.21, allocations: 3.707 MB / 4.02 GB, free: 322.7 MB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01197/13.22, allocations: 1.613 MB / 4.022 GB, free: 321 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.02281/13.25, allocations: 2.434 MB / 4.024 GB, free: 318.8 MB / 1.858 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03476/13.28, allocations: 6.376 MB / 4.03 GB, free: 314.5 MB / 1.858 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1367/13.42, allocations: 52.08 MB / 4.081 GB, free: 262.3 MB / 1.858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08798/13.51, allocations: 40.3 MB / 4.121 GB, free: 221.8 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001553/13.51, allocations: 0 / 4.121 GB, free: 221.8 MB / 1.858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05405/13.56, allocations: 13.47 MB / 4.134 GB, free: 208.2 MB / 1.858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03386/13.59, allocations: 0.5351 MB / 4.134 GB, free: 207.7 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05589/13.65, allocations: 2.02 MB / 4.136 GB, free: 205.7 MB / 1.858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009378/13.66, allocations: 1.561 MB / 4.138 GB, free: 204.1 MB / 1.858 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1436/13.8, allocations: 55.81 MB / 4.192 GB, free: 148.6 MB / 1.858 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1316/13.94, allocations: 64.01 MB / 4.255 GB, free: 84.41 MB / 1.858 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02947/13.96, allocations: 18.63 MB / 4.273 GB, free: 65.74 MB / 1.858 GB Notification: Performance of sorting global known variables: time 1.129/15.09, allocations: 61.53 MB / 4.333 GB, free: 0.5549 GB / 1.858 GB Notification: Performance of Backend: time 1.042e-06/15.09, allocations: 0 / 4.333 GB, free: 0.5549 GB / 1.858 GB Notification: Performance of simCode: created initialization part: time 0.2346/15.33, allocations: 85.91 MB / 4.417 GB, free: 0.5236 GB / 1.858 GB Notification: Performance of SimCode: time 0.5176/15.85, allocations: 192.7 MB / 4.605 GB, free: 426.6 MB / 1.858 GB Notification: Performance of Templates: time 4.775/20.62, allocations: 1.604 GB / 6.209 GB, free: 149 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