Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 113.3 kB / 16.42 MB, free: 6.504 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.001942/0.001942, allocations: 190.6 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.408/1.408, 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 11.0.1-master/package.mo): time 2.577/2.577, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 68.11 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.107, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube): time 0.09691/1.204, allocations: 70.26 MB / 1.277 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0257/1.229, allocations: 17.74 MB / 1.294 GB, free: 5.312 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/1.233, allocations: 67.62 kB / 1.294 GB, free: 5.246 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004353/1.237, allocations: 1.221 MB / 1.296 GB, free: 4.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01064/1.248, allocations: 2.405 MB / 1.298 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0115/1.26, allocations: 2.92 MB / 1.301 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.06783/1.327, allocations: 38.52 MB / 1.338 GB, free: 8.102 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03379/1.361, allocations: 17.24 MB / 1.355 GB, free: 6.734 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03829/1.4, allocations: 12.59 MB / 1.368 GB, free: 10.17 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02977/1.429, allocations: 11.15 MB / 1.378 GB, free: 14.98 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.009367/1.439, allocations: 1.945 MB / 1.38 GB, free: 13.03 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02296/1.462, allocations: 4.551 MB / 1.385 GB, free: 8.477 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.01384/1.476, allocations: 4.452 MB / 1.389 GB, free: 4.012 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.03432/1.51, allocations: 9.454 MB / 1.398 GB, free: 10.52 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.05884/1.569, allocations: 33.5 MB / 1.431 GB, free: 8.922 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/1.569, allocations: 4 kB / 1.431 GB, free: 8.918 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.324e-06/1.569, allocations: 0 / 1.431 GB, free: 8.918 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0009625/1.57, allocations: 0 / 1.431 GB, free: 8.918 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.06164/1.632, allocations: 16.91 MB / 1.448 GB, free: 7.875 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/1.632, allocations: 12.03 kB / 1.448 GB, free: 7.863 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/1.643, allocations: 1.638 MB / 1.449 GB, free: 6.207 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04567/1.688, allocations: 16.3 MB / 1.465 GB, free: 5.809 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/1.689, allocations: 0.6414 MB / 1.466 GB, free: 5.164 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004909/1.694, allocations: 0.867 MB / 1.467 GB, free: 4.297 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05061/1.745, allocations: 12.85 MB / 1.479 GB, free: 7.148 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007391/1.746, allocations: 39.67 kB / 1.479 GB, free: 7.109 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005075/1.751, allocations: 352 kB / 1.48 GB, free: 6.766 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/1.751, allocations: 208 kB / 1.48 GB, free: 6.562 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04315/1.794, allocations: 11.18 MB / 1.491 GB, free: 11.36 MB / 1.217 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.1361/1.93, allocations: 53.34 MB / 1.543 GB, free: 3.898 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/1.945, allocations: 5.933 MB / 1.549 GB, free: 13.95 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009016/1.954, allocations: 3.952 MB / 1.552 GB, free: 9.988 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003281/1.957, allocations: 2.183 MB / 1.555 GB, free: 7.344 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/1.958, allocations: 94.36 kB / 1.555 GB, free: 7.242 MB / 1.279 GB Notification: Performance of pre-optimization done (n=484): time 2.405e-05/1.958, allocations: 3.938 kB / 1.555 GB, free: 7.238 MB / 1.279 GB Notification: Performance of matching and sorting (n=484): time 1.788/3.745, allocations: 12.62 MB / 1.567 GB, free: 306 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/3.746, allocations: 366.3 kB / 1.567 GB, free: 305.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03984/3.785, allocations: 16.02 MB / 1.583 GB, free: 300.9 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001662/3.787, allocations: 131.5 kB / 1.583 GB, free: 300.8 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.008653/3.796, allocations: 5.909 MB / 1.589 GB, free: 297.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003126/3.799, allocations: 1.721 MB / 1.591 GB, free: 296.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005242/3.804, allocations: 1.515 MB / 1.592 GB, free: 295.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/3.804, allocations: 304.8 kB / 1.592 GB, free: 295.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005573/3.81, allocations: 3.822 MB / 1.596 GB, free: 293.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007145/3.817, allocations: 5.881 MB / 1.602 GB, free: 290.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/3.83, allocations: 9.023 MB / 1.611 GB, free: 285.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.517e-05/3.83, allocations: 11.19 kB / 1.611 GB, free: 285.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.02497/3.855, allocations: 11.64 MB / 1.622 GB, free: 274.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/3.855, allocations: 25.88 kB / 1.622 GB, free: 274.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000242/3.856, allocations: 66.61 kB / 1.622 GB, free: 274.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/3.858, allocations: 1.021 MB / 1.623 GB, free: 273.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006106/3.864, allocations: 1.57 MB / 1.625 GB, free: 272 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/3.884, allocations: 36.62 MB / 1.66 GB, free: 232.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/3.896, allocations: 1.1 MB / 1.661 GB, free: 231.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/3.898, allocations: 288 kB / 1.662 GB, free: 231.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01582/3.914, allocations: 8.861 MB / 1.67 GB, free: 222.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007767/3.922, allocations: 5.881 MB / 1.676 GB, free: 215.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01217/3.934, allocations: 9.024 MB / 1.685 GB, free: 206.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.451e-05/3.934, allocations: 15.94 kB / 1.685 GB, free: 206.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02212/3.956, allocations: 11.64 MB / 1.696 GB, free: 194.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/3.956, allocations: 20 kB / 1.696 GB, free: 194.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001949/3.956, allocations: 64 kB / 1.696 GB, free: 194.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/3.958, allocations: 1.028 MB / 1.697 GB, free: 193.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006146/3.964, allocations: 1.568 MB / 1.699 GB, free: 191.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02376/3.988, allocations: 36.6 MB / 1.735 GB, free: 152.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01442/4.003, allocations: 1.031 MB / 1.736 GB, free: 151.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/4.005, allocations: 292 kB / 1.736 GB, free: 151 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (837): * Single equations (assignments): 807 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002797/4.008, allocations: 0.5887 MB / 1.737 GB, free: 150.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005383/4.013, allocations: 1.169 MB / 1.738 GB, free: 149.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01725/4.03, allocations: 8.609 MB / 1.746 GB, free: 140.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009689/4.04, allocations: 6.562 MB / 1.752 GB, free: 133.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/4.04, allocations: 4 kB / 1.752 GB, free: 133.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009812/4.05, allocations: 2.641 MB / 1.755 GB, free: 131.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006534/4.056, allocations: 116 kB / 1.755 GB, free: 131.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01046/4.067, allocations: 319.5 kB / 1.755 GB, free: 130.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001639/4.069, allocations: 331.3 kB / 1.756 GB, free: 130.5 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02121/4.09, allocations: 8.759 MB / 1.764 GB, free: 121.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02491/4.115, allocations: 11.81 MB / 1.776 GB, free: 109.9 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006501/4.121, allocations: 3.259 MB / 1.779 GB, free: 106.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0284/4.15, allocations: 11.35 MB / 1.79 GB, free: 95.36 MB / 1.279 GB Notification: Performance of Backend: time 1.422e-06/4.15, allocations: 0 / 1.79 GB, free: 95.36 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.04669/4.197, allocations: 17.4 MB / 1.807 GB, free: 77.51 MB / 1.279 GB Notification: Performance of SimCode: time 0.09193/4.289, allocations: 33.83 MB / 1.84 GB, free: 43.91 MB / 1.279 GB Notification: Performance of Templates: time 0.5128/4.801, allocations: 294.3 MB / 2.128 GB, free: 7.008 MB / 1.529 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches