Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001383/0.001384, allocations: 114.4 kB / 16.42 MB, free: 6.008 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.001453/0.001453, allocations: 187.3 kB / 17.35 MB, free: 5.625 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.37/1.37, 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 9.1.3-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 71.88 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9419/0.9434, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.2816/1.225, allocations: 292.5 MB / 1.374 GB, free: 8.879 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.09864/1.324, allocations: 70.62 MB / 1.443 GB, free: 2.074 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01847/1.342, allocations: 381.9 kB / 1.444 GB, free: 1.699 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01614/1.358, allocations: 5.048 MB / 1.449 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.03983/1.398, allocations: 13.53 MB / 1.462 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.02556/1.424, allocations: 9.335 MB / 1.471 GB, free: 5.758 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 1.876/3.3, allocations: 222.8 MB / 1.688 GB, free: 51.71 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1934/3.493, allocations: 104.6 MB / 1.791 GB, free: 35.28 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1594/3.653, allocations: 73.94 MB / 1.863 GB, free: 13.03 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1253/3.778, allocations: 63.39 MB / 1.925 GB, free: 3.879 MB / 1.389 GB Notification: Performance of NFPackage.collectConstants: time 0.03598/3.814, allocations: 10.97 MB / 1.935 GB, free: 8.906 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08417/3.898, allocations: 18.11 MB / 1.953 GB, free: 7.75 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.05847/3.957, allocations: 24.47 MB / 1.977 GB, free: 104 kB / 1.436 GB Notification: Performance of NFVerifyModel.verify: time 0.1514/4.108, allocations: 53.29 MB / 2.029 GB, free: 12.63 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 1.936/6.045, allocations: 182.5 MB / 2.207 GB, free: 231.5 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/6.045, allocations: 1.188 kB / 2.207 GB, free: 231.5 MB / 1.623 GB Notification: Performance of FrontEnd: time 1.723e-06/6.045, allocations: 0 / 2.207 GB, free: 231.5 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.004836/6.05, allocations: 0 / 2.207 GB, free: 231.5 MB / 1.623 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.3655/6.415, allocations: 93.51 MB / 2.299 GB, free: 199.9 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 7.874e-05/6.415, allocations: 8.25 kB / 2.299 GB, free: 199.9 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06906/6.484, allocations: 9.196 MB / 2.308 GB, free: 195.4 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2497/6.734, allocations: 91.35 MB / 2.397 GB, free: 172 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006081/6.74, allocations: 3.8 MB / 2.401 GB, free: 171.9 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03466/6.775, allocations: 5.069 MB / 2.405 GB, free: 171.9 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2978/7.073, allocations: 77.38 MB / 2.481 GB, free: 117.7 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003807/7.077, allocations: 149 kB / 2.481 GB, free: 117.6 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03153/7.108, allocations: 2.093 MB / 2.483 GB, free: 115.5 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001418/7.11, allocations: 1.464 MB / 2.485 GB, free: 114.1 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2055/7.315, allocations: 66.22 MB / 2.549 GB, free: 48.23 MB / 1.623 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 1.976/9.291, allocations: 381 MB / 2.921 GB, free: 0.6597 GB / 1.889 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09309/9.385, allocations: 40.75 MB / 2.961 GB, free: 0.6585 GB / 1.889 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05827/9.443, allocations: 25.9 MB / 2.986 GB, free: 0.6551 GB / 1.889 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007422/9.45, allocations: 5.245 MB / 2.992 GB, free: 0.6498 GB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009715/9.451, allocations: 400.7 kB / 2.992 GB, free: 0.6495 GB / 1.889 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05432/9.506, allocations: 3.064 MB / 2.995 GB, free: 0.6491 GB / 1.889 GB Notification: Performance of pre-optimization done (n=2661): time 0.0001272/9.506, allocations: 0 / 2.995 GB, free: 0.6491 GB / 1.889 GB Notification: Performance of matching and sorting (n=2661): time 0.2084/9.714, allocations: 68.32 MB / 3.062 GB, free: 0.6237 GB / 1.889 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002747/9.715, allocations: 0.8247 MB / 3.062 GB, free: 0.623 GB / 1.889 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.211/9.926, allocations: 86.42 MB / 3.147 GB, free: 0.5689 GB / 1.889 GB Notification: Performance of collectPreVariables (initialization): time 0.01201/9.938, allocations: 0.6032 MB / 3.147 GB, free: 0.5683 GB / 1.889 GB Notification: Performance of collectInitialEqns (initialization): time 0.05524/9.993, allocations: 35.61 MB / 3.182 GB, free: 0.5358 GB / 1.889 GB Notification: Performance of collectInitialBindings (initialization): time 0.01889/10.01, allocations: 9.472 MB / 3.191 GB, free: 0.5267 GB / 1.889 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04323/10.06, allocations: 8.803 MB / 3.2 GB, free: 0.518 GB / 1.889 GB Notification: Performance of setup shared object (initialization): time 4.988e-05/10.06, allocations: 305.1 kB / 3.2 GB, free: 0.5177 GB / 1.889 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04386/10.1, allocations: 21.97 MB / 3.222 GB, free: 0.4963 GB / 1.889 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05711/10.16, allocations: 32.96 MB / 3.254 GB, free: 471.6 MB / 1.889 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08603/10.24, allocations: 51.85 MB / 3.305 GB, free: 416.8 MB / 1.889 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003391/10.24, allocations: 72 kB / 3.305 GB, free: 416.7 MB / 1.889 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1817/10.42, allocations: 69.53 MB / 3.373 GB, free: 346.6 MB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003098/10.42, allocations: 108 kB / 3.373 GB, free: 346.5 MB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001185/10.43, allocations: 348 kB / 3.373 GB, free: 346.2 MB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04509/10.47, allocations: 41.13 MB / 3.413 GB, free: 304.7 MB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02796/10.5, allocations: 7.805 MB / 3.421 GB, free: 296.9 MB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09256/10.59, allocations: 134.4 MB / 3.552 GB, free: 154 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06166/10.65, allocations: 3.06 MB / 3.555 GB, free: 150.9 MB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01081/10.66, allocations: 1.613 MB / 3.557 GB, free: 149.3 MB / 1.889 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.09189/10.76, allocations: 49.96 MB / 3.605 GB, free: 99.32 MB / 1.889 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05396/10.81, allocations: 32.93 MB / 3.638 GB, free: 62.37 MB / 1.889 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08827/10.9, allocations: 51.79 MB / 3.688 GB, free: 7.004 MB / 1.889 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0007176/10.9, allocations: 68 kB / 3.688 GB, free: 6.938 MB / 1.889 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.9896/11.89, allocations: 69.48 MB / 3.756 GB, free: 0.685 GB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/11.89, allocations: 108.8 kB / 3.756 GB, free: 0.685 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001352/11.89, allocations: 348 kB / 3.756 GB, free: 0.685 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0512/11.94, allocations: 41.07 MB / 3.797 GB, free: 0.6837 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02997/11.97, allocations: 7.794 MB / 3.804 GB, free: 0.6829 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09618/12.07, allocations: 136.9 MB / 3.938 GB, free: 0.5727 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06754/12.14, allocations: 3.718 MB / 3.942 GB, free: 0.5721 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009081/12.14, allocations: 1.613 MB / 3.943 GB, free: 0.5718 GB / 1.889 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.01725/12.16, allocations: 2.426 MB / 3.945 GB, free: 0.5701 GB / 1.889 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02878/12.19, allocations: 6.382 MB / 3.952 GB, free: 0.5665 GB / 1.889 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1393/12.33, allocations: 52.07 MB / 4.003 GB, free: 0.5241 GB / 1.889 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08779/12.42, allocations: 40.3 MB / 4.042 GB, free: 0.4904 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001269/12.42, allocations: 0 / 4.042 GB, free: 0.4904 GB / 1.889 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04997/12.47, allocations: 13.47 MB / 4.055 GB, free: 490.1 MB / 1.889 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02751/12.5, allocations: 0.5396 MB / 4.056 GB, free: 489.6 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05524/12.55, allocations: 2.02 MB / 4.058 GB, free: 488.4 MB / 1.889 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007432/12.56, allocations: 1.563 MB / 4.059 GB, free: 487.4 MB / 1.889 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1322/12.69, allocations: 55.82 MB / 4.114 GB, free: 435.5 MB / 1.889 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.14/12.83, allocations: 64.01 MB / 4.176 GB, free: 371.3 MB / 1.889 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02698/12.86, allocations: 18.62 MB / 4.194 GB, free: 352.6 MB / 1.889 GB Notification: Performance of sorting global known variables: time 0.1254/12.98, allocations: 61.53 MB / 4.254 GB, free: 291.5 MB / 1.889 GB Notification: Performance of Backend: time 1.392e-06/12.98, allocations: 4 kB / 4.254 GB, free: 291.5 MB / 1.889 GB Notification: Performance of simCode: created initialization part: time 0.2058/13.19, allocations: 85.89 MB / 4.338 GB, free: 204.1 MB / 1.889 GB Notification: Performance of SimCode: time 1.84/15.03, allocations: 192.7 MB / 4.526 GB, free: 0.6424 GB / 1.889 GB Notification: Performance of Templates: time 3.651/18.68, allocations: 1.603 GB / 6.13 GB, free: 0.5468 GB / 1.889 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeDynamics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches