Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BoreholeTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_9_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_9_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.001456/0.001456, allocations: 112.7 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.001484/0.001484, allocations: 190.7 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.379/1.379, allocations: 222.9 MB / 241 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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9644/0.966, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.092/1.058, allocations: 84.99 MB / 1.172 GB, free: 8.75 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04024/1.098, allocations: 25.79 MB / 1.197 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006652/1.105, allocations: 120.6 kB / 1.197 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006554/1.112, allocations: 1.791 MB / 1.199 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01409/1.126, allocations: 4.152 MB / 1.203 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.01202/1.138, allocations: 3.995 MB / 1.207 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.1152/1.253, allocations: 75.27 MB / 1.28 GB, free: 9.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06431/1.317, allocations: 34.76 MB / 1.314 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0571/1.374, allocations: 24.4 MB / 1.338 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04425/1.419, allocations: 21.27 MB / 1.359 GB, free: 9.281 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.01361/1.432, allocations: 3.855 MB / 1.362 GB, free: 5.426 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03357/1.466, allocations: 7.05 MB / 1.369 GB, free: 14.38 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.01947/1.486, allocations: 8.332 MB / 1.377 GB, free: 6.02 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.04854/1.534, allocations: 17.94 MB / 1.395 GB, free: 4.008 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.09288/1.627, allocations: 62.79 MB / 1.456 GB, free: 5.047 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/1.627, allocations: 7.938 kB / 1.456 GB, free: 5.039 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.104e-06/1.627, allocations: 0 / 1.456 GB, free: 5.039 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.001957/1.629, allocations: 0 / 1.456 GB, free: 5.039 MB / 1.186 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.1117/1.741, allocations: 31.27 MB / 1.487 GB, free: 5.508 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/1.741, allocations: 8.031 kB / 1.487 GB, free: 5.5 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0193/1.76, allocations: 3.044 MB / 1.49 GB, free: 2.422 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07899/1.839, allocations: 30.02 MB / 1.519 GB, free: 4.289 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001697/1.841, allocations: 1.295 MB / 1.52 GB, free: 2.992 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00843/1.849, allocations: 1.761 MB / 1.522 GB, free: 1.23 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08142/1.931, allocations: 26.66 MB / 1.548 GB, free: 6.113 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008602/1.932, allocations: 59.42 kB / 1.548 GB, free: 6.055 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006842/1.939, allocations: 0.7109 MB / 1.549 GB, free: 5.344 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/1.939, allocations: 423.9 kB / 1.549 GB, free: 4.93 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06168/2.001, allocations: 23.7 MB / 1.572 GB, free: 13.2 MB / 1.311 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.9412/2.942, allocations: 105.8 MB / 1.676 GB, free: 328.5 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0287/2.971, allocations: 13.48 MB / 1.689 GB, free: 321.4 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01766/2.988, allocations: 9.74 MB / 1.698 GB, free: 316.4 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002954/2.991, allocations: 2.635 MB / 1.701 GB, free: 313.5 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/2.992, allocations: 162.1 kB / 1.701 GB, free: 313.4 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01286/3.005, allocations: 1.089 MB / 1.702 GB, free: 313 MB / 1.311 GB Notification: Performance of pre-optimization done (n=1034): time 3.911e-05/3.005, allocations: 0 / 1.702 GB, free: 313 MB / 1.311 GB Notification: Performance of matching and sorting (n=1034): time 0.06064/3.065, allocations: 27.14 MB / 1.729 GB, free: 296.5 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/3.065, allocations: 160.1 kB / 1.729 GB, free: 296.4 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06144/3.127, allocations: 27.05 MB / 1.755 GB, free: 271.5 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.002638/3.13, allocations: 241.7 kB / 1.756 GB, free: 271.3 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.01403/3.144, allocations: 10.93 MB / 1.766 GB, free: 260.5 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.00578/3.149, allocations: 3.678 MB / 1.77 GB, free: 256.8 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01104/3.16, allocations: 3.216 MB / 1.773 GB, free: 253.5 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 3.864e-05/3.161, allocations: 305.1 kB / 1.773 GB, free: 253.2 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01363/3.174, allocations: 8.24 MB / 1.781 GB, free: 245 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0175/3.192, allocations: 11.92 MB / 1.793 GB, free: 231.8 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03078/3.223, allocations: 19.44 MB / 1.812 GB, free: 211.2 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.867e-05/3.223, allocations: 28 kB / 1.812 GB, free: 211.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.05255/3.275, allocations: 24.46 MB / 1.836 GB, free: 186.4 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/3.275, allocations: 48 kB / 1.836 GB, free: 186.4 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002948/3.276, allocations: 112 kB / 1.836 GB, free: 186.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004306/3.28, allocations: 2.119 MB / 1.838 GB, free: 184 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/3.294, allocations: 3.53 MB / 1.841 GB, free: 180.5 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03947/3.333, allocations: 73.7 MB / 1.913 GB, free: 101.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01984/3.353, allocations: 1.081 MB / 1.915 GB, free: 100.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003285/3.357, allocations: 0.5976 MB / 1.915 GB, free: 99.55 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03544/3.392, allocations: 17.51 MB / 1.932 GB, free: 82.02 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01885/3.411, allocations: 11.91 MB / 1.944 GB, free: 68.82 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03246/3.443, allocations: 19.41 MB / 1.963 GB, free: 48.21 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001395/3.444, allocations: 24 kB / 1.963 GB, free: 48.19 MB / 1.311 GB Notification: Performance of matching and sorting (n=1984) (initialization_lambda0): time 0.05698/3.501, allocations: 24.44 MB / 1.987 GB, free: 23.52 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/3.501, allocations: 41 kB / 1.987 GB, free: 23.48 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000325/3.501, allocations: 112 kB / 1.987 GB, free: 23.37 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/3.505, allocations: 2.095 MB / 1.989 GB, free: 21.14 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01347/3.519, allocations: 3.526 MB / 1.992 GB, free: 17.61 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06681/3.585, allocations: 75 MB / 2.066 GB, free: 0.9102 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02693/3.612, allocations: 1.269 MB / 2.067 GB, free: 15.64 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004396/3.617, allocations: 0.5976 MB / 2.067 GB, free: 15.04 MB / 1.389 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.007754/3.625, allocations: 1.014 MB / 2.068 GB, free: 14.02 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01145/3.636, allocations: 2.068 MB / 2.07 GB, free: 11.92 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06333/3.699, allocations: 17.99 MB / 2.088 GB, free: 9.789 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0376/3.737, allocations: 14.48 MB / 2.102 GB, free: 11.09 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.367e-05/3.737, allocations: 0 / 2.102 GB, free: 11.09 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02264/3.76, allocations: 4.689 MB / 2.107 GB, free: 6.359 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0108/3.771, allocations: 239.9 kB / 2.107 GB, free: 6.125 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01964/3.79, allocations: 0.6434 MB / 2.108 GB, free: 5.48 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003432/3.794, allocations: 0.6788 MB / 2.108 GB, free: 4.797 MB / 1.42 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0551/3.849, allocations: 18.97 MB / 2.127 GB, free: 1.59 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.9453/4.794, allocations: 25.36 MB / 2.152 GB, free: 460.4 MB / 1.436 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01505/4.809, allocations: 7.221 MB / 2.159 GB, free: 457.7 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.05894/4.868, allocations: 19.18 MB / 2.177 GB, free: 451.2 MB / 1.436 GB Notification: Performance of Backend: time 1.583e-06/4.868, allocations: 0 / 2.177 GB, free: 451.2 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.09627/4.965, allocations: 35.39 MB / 2.212 GB, free: 433.2 MB / 1.436 GB Notification: Performance of SimCode: time 0.1829/5.148, allocations: 62.55 MB / 2.273 GB, free: 396.9 MB / 1.436 GB Notification: Performance of Templates: time 2.307/7.454, allocations: 0.5291 GB / 2.802 GB, free: 428.5 MB / 1.451 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches