Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001033/0.001034, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.17 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.441/2.441, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001489, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8944/0.8959, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.0734/0.9694, allocations: 65.6 MB / 1.231 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02539/0.9948, allocations: 16.7 MB / 1.248 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.9979, allocations: 67.62 kB / 1.248 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004306/1.002, allocations: 1.186 MB / 1.249 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007899/1.01, allocations: 2.416 MB / 1.251 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008999/1.019, allocations: 2.876 MB / 1.254 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007779/1.027, allocations: 4.451 MB / 1.258 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002938/1.03, allocations: 1.469 MB / 1.26 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/1.035, allocations: 1.662 MB / 1.262 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/1.037, allocations: 1.291 MB / 1.263 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007851/1.038, allocations: 180 kB / 1.263 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007757/1.046, allocations: 2.707 MB / 1.266 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001038/1.047, allocations: 482.3 kB / 1.266 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002577/1.05, allocations: 1.026 MB / 1.267 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01158/1.061, allocations: 4.488 MB / 1.271 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.061, allocations: 0 / 1.271 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.264e-06/1.061, allocations: 0 / 1.271 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001219/1.061, allocations: 0 / 1.271 GB, free: 8.918 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.006459/1.068, allocations: 2.39 MB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.068, allocations: 12.92 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007909/1.069, allocations: 214.6 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/1.072, allocations: 1.566 MB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/1.072, allocations: 78.08 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/1.072, allocations: 112 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/1.075, allocations: 1.104 MB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/1.075, allocations: 7.938 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.075, allocations: 44 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/1.075, allocations: 28 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/1.076, allocations: 0.8316 MB / 1.278 GB, free: 2.355 MB / 0.9981 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.009563/1.086, allocations: 6.815 MB / 1.284 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.087, allocations: 0.7415 MB / 1.285 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005701/1.088, allocations: 353.1 kB / 1.285 GB, free: 9.715 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/1.089, allocations: 1.271 MB / 1.287 GB, free: 8.168 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.089, allocations: 43.16 kB / 1.287 GB, free: 8.117 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.737e-06/1.089, allocations: 3.938 kB / 1.287 GB, free: 8.113 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.002516/1.091, allocations: 1.168 MB / 1.288 GB, free: 6.895 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/1.092, allocations: 93.7 kB / 1.288 GB, free: 6.785 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/1.094, allocations: 1.509 MB / 1.289 GB, free: 5.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/1.094, allocations: 45.7 kB / 1.289 GB, free: 5.219 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/1.095, allocations: 0.7014 MB / 1.29 GB, free: 4.508 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/1.095, allocations: 256.2 kB / 1.29 GB, free: 4.254 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/1.096, allocations: 194.5 kB / 1.291 GB, free: 4.055 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.096, allocations: 337.9 kB / 1.291 GB, free: 3.719 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/1.096, allocations: 296.7 kB / 1.291 GB, free: 3.426 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/1.097, allocations: 486.6 kB / 1.292 GB, free: 2.883 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/1.098, allocations: 0.7224 MB / 1.292 GB, free: 2.117 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.098, allocations: 4 kB / 1.292 GB, free: 2.113 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001984/1.1, allocations: 1.017 MB / 1.293 GB, free: 1.078 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.1, allocations: 4 kB / 1.293 GB, free: 1.074 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/1.1, allocations: 8 kB / 1.293 GB, free: 1.066 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/1.101, allocations: 69.62 kB / 1.293 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/1.101, allocations: 199.7 kB / 1.294 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/1.104, allocations: 3.313 MB / 1.297 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.105, allocations: 111 kB / 1.297 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.105, allocations: 36 kB / 1.297 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001056/1.107, allocations: 0.5839 MB / 1.298 GB, free: 12.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000668/1.107, allocations: 486.5 kB / 1.298 GB, free: 11.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/1.108, allocations: 0.7068 MB / 1.299 GB, free: 11.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.426e-06/1.108, allocations: 4 kB / 1.299 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.002001/1.11, allocations: 1.021 MB / 1.3 GB, free: 10.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.11, allocations: 4 kB / 1.3 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.11, allocations: 8 kB / 1.3 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/1.111, allocations: 73.66 kB / 1.3 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/1.111, allocations: 195.9 kB / 1.3 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/1.114, allocations: 3.313 MB / 1.303 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.115, allocations: 87.33 kB / 1.303 GB, free: 6.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-05/1.115, allocations: 35.98 kB / 1.303 GB, free: 6.152 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003056/1.116, allocations: 240 kB / 1.304 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/1.116, allocations: 162.1 kB / 1.304 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/1.118, allocations: 1.053 MB / 1.305 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/1.119, allocations: 0.7849 MB / 1.305 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.119, allocations: 0 / 1.305 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008121/1.12, allocations: 342.9 kB / 1.306 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/1.121, allocations: 16 kB / 1.306 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/1.121, allocations: 23.98 kB / 1.306 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/1.121, allocations: 48.58 kB / 1.306 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001909/1.123, allocations: 0.9383 MB / 1.307 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002058/1.125, allocations: 1.411 MB / 1.308 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004848/1.126, allocations: 337.4 kB / 1.309 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001745/1.128, allocations: 1.048 MB / 1.31 GB, free: 15.67 MB / 1.045 GB Notification: Performance of Backend: time 3.8e-07/1.128, allocations: 0 / 1.31 GB, free: 15.67 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005966/1.134, allocations: 2.403 MB / 1.312 GB, free: 13.21 MB / 1.045 GB Notification: Performance of SimCode: time 0.007313/1.141, allocations: 3.814 MB / 1.316 GB, free: 9.363 MB / 1.045 GB Notification: Performance of Templates: time 0.07797/1.219, allocations: 42.71 MB / 1.357 GB, free: 15.06 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches