Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 209.9 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.49 GB / 0.7959 GB, free: 35.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 65.33 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4352, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.09458/0.5298, allocations: 79.2 MB / 1.404 GB, free: 1.492 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04165/0.5714, allocations: 23.39 MB / 1.427 GB, free: 10.04 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006424/0.5779, allocations: 166.6 kB / 1.427 GB, free: 9.875 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006952/0.5848, allocations: 1.739 MB / 1.429 GB, free: 8.125 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01551/0.6003, allocations: 4.225 MB / 1.433 GB, free: 3.883 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01292/0.6132, allocations: 4.173 MB / 1.437 GB, free: 15.73 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01496/0.6282, allocations: 8.52 MB / 1.446 GB, free: 7.195 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004902/0.6331, allocations: 2.323 MB / 1.448 GB, free: 4.805 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009443/0.6425, allocations: 3.344 MB / 1.451 GB, free: 1.461 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005587/0.6481, allocations: 2.497 MB / 1.454 GB, free: 14.95 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.6492, allocations: 360 kB / 1.454 GB, free: 14.6 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009339/0.6586, allocations: 3.253 MB / 1.457 GB, free: 11.34 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002124/0.6607, allocations: 0.8795 MB / 1.458 GB, free: 10.46 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.004203/0.6649, allocations: 1.548 MB / 1.46 GB, free: 8.906 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.6822, allocations: 7.351 MB / 1.467 GB, free: 1.531 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.6822, allocations: 0 / 1.467 GB, free: 1.531 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.016e-06/0.6822, allocations: 0 / 1.467 GB, free: 1.531 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001744/0.6824, allocations: 0 / 1.467 GB, free: 1.531 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: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01049/0.6929, allocations: 3.96 MB / 1.471 GB, free: 13.5 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.693, allocations: 11.98 kB / 1.471 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.6943, allocations: 389.7 kB / 1.471 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/0.7003, allocations: 2.598 MB / 1.474 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.7004, allocations: 160.1 kB / 1.474 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.7008, allocations: 220 kB / 1.474 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/0.7055, allocations: 2.516 MB / 1.476 GB, free: 7.348 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-05/0.7056, allocations: 7.938 kB / 1.476 GB, free: 7.34 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.7058, allocations: 88 kB / 1.476 GB, free: 7.254 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.7058, allocations: 48 kB / 1.476 GB, free: 7.207 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/0.709, allocations: 1.667 MB / 1.478 GB, free: 5.523 MB / 1.17 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.01448/0.7235, allocations: 6.901 MB / 1.485 GB, free: 14.5 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.7256, allocations: 1.092 MB / 1.486 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.7268, allocations: 0.7514 MB / 1.487 GB, free: 12.66 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.7284, allocations: 313 kB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.176e-05/0.7284, allocations: 47.88 kB / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of pre-optimization done (n=148): time 4.829e-06/0.7284, allocations: 0 / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of matching and sorting (n=148): time 0.006277/0.7347, allocations: 2.25 MB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.7348, allocations: 98.41 kB / 1.489 GB, free: 9.906 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.7386, allocations: 2.084 MB / 1.491 GB, free: 7.797 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002481/0.7389, allocations: 53.7 kB / 1.491 GB, free: 7.738 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.7401, allocations: 1.221 MB / 1.493 GB, free: 6.504 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/0.7409, allocations: 0.5422 MB / 1.493 GB, free: 5.957 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/0.7416, allocations: 375.4 kB / 1.493 GB, free: 5.582 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7417, allocations: 305.1 kB / 1.494 GB, free: 5.281 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.7429, allocations: 0.5826 MB / 1.494 GB, free: 4.695 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.7447, allocations: 1.314 MB / 1.496 GB, free: 3.168 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.7473, allocations: 1.488 MB / 1.497 GB, free: 1.594 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.7473, allocations: 0 / 1.497 GB, free: 1.594 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005017/0.7524, allocations: 2.121 MB / 1.499 GB, free: 15.45 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.7524, allocations: 8 kB / 1.499 GB, free: 15.44 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.7524, allocations: 12 kB / 1.499 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.7536, allocations: 269.1 kB / 1.499 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.755, allocations: 387.4 kB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/0.762, allocations: 7.196 MB / 1.507 GB, free: 7.117 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.7643, allocations: 162.9 kB / 1.507 GB, free: 6.957 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.7646, allocations: 75.98 kB / 1.507 GB, free: 6.883 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002427/0.767, allocations: 1.053 MB / 1.508 GB, free: 5.828 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001724/0.7687, allocations: 1.306 MB / 1.509 GB, free: 4.305 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002635/0.7714, allocations: 1.468 MB / 1.511 GB, free: 2.75 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.077e-06/0.7714, allocations: 7.984 kB / 1.511 GB, free: 2.742 MB / 1.201 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.004496/0.7759, allocations: 2.063 MB / 1.513 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.7759, allocations: 8.062 kB / 1.513 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.7759, allocations: 12 kB / 1.513 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/0.7765, allocations: 229 kB / 1.513 GB, free: 400 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.778, allocations: 379.5 kB / 1.513 GB, free: 20 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009846/0.7878, allocations: 9.194 MB / 1.522 GB, free: 6.219 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/0.7903, allocations: 171 kB / 1.523 GB, free: 6.051 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.7905, allocations: 71.98 kB / 1.523 GB, free: 5.98 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006023/0.7911, allocations: 280 kB / 1.523 GB, free: 5.699 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007612/0.7919, allocations: 258.3 kB / 1.523 GB, free: 5.445 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.7962, allocations: 2 MB / 1.525 GB, free: 3.453 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002887/0.7991, allocations: 1.666 MB / 1.527 GB, free: 1.723 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.7991, allocations: 0 / 1.527 GB, free: 1.723 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/0.8009, allocations: 477.8 kB / 1.527 GB, free: 1.254 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003725/0.8013, allocations: 32 kB / 1.527 GB, free: 1.223 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/0.8023, allocations: 47.92 kB / 1.527 GB, free: 1.176 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.8025, allocations: 117.1 kB / 1.527 GB, free: 1.059 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004422/0.807, allocations: 1.913 MB / 1.529 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004578/0.8115, allocations: 2.62 MB / 1.532 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001059/0.8126, allocations: 0.6278 MB / 1.532 GB, free: 11.85 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002709/0.8153, allocations: 1.389 MB / 1.534 GB, free: 10.45 MB / 1.232 GB Notification: Performance of Backend: time 8.52e-07/0.8153, allocations: 0 / 1.534 GB, free: 10.45 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0109/0.8262, allocations: 4.312 MB / 1.538 GB, free: 6.012 MB / 1.232 GB Notification: Performance of SimCode: time 0.01328/0.8395, allocations: 6.242 MB / 1.544 GB, free: 15.73 MB / 1.248 GB Notification: Performance of Templates: time 0.9921/1.832, allocations: 74.12 MB / 1.616 GB, free: 267.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.449340347993711]