Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.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.001939/0.001939, allocations: 95.92 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.002354/0.002354, allocations: 212 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.382/3.382, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|seg.port_a1.m_flow|seg.TBouCon.port.T|seg.soi.T.1.|seg.soi.T.2.|seg.soi.T.3.|seg.soi.T.4.|seg.soi.T.5.|seg.soi.T.6.|seg.soi.T.7.|seg.soi.T.8.|seg.soi.T.9.",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|seg.port_a1.m_flow|seg.TBouCon.port.T|seg.soi.T.1.|seg.soi.T.2.|seg.soi.T.3.|seg.soi.T.4.|seg.soi.T.5.|seg.soi.T.6.|seg.soi.T.7.|seg.soi.T.8.|seg.soi.T.9.",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") [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.00208/0.00208, allocations: 71.73 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4156, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.05425/0.4698, allocations: 45.43 MB / 1.371 GB, free: 3.395 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02416/0.494, allocations: 13.01 MB / 1.384 GB, free: 6.348 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003571/0.4976, allocations: 91.25 kB / 1.384 GB, free: 6.258 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.5006, allocations: 0.8775 MB / 1.385 GB, free: 5.375 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008661/0.5092, allocations: 2.665 MB / 1.388 GB, free: 2.699 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Fluid/Geothermal/Boreholes/BaseClasses/temperatureDrop.mo:2:1-109:20:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop' contains a call to impure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues'. Notification: Performance of NFTyping.typeClassSections: time 0.005056/0.5143, allocations: 1.74 MB / 1.389 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00814/0.5224, allocations: 5.212 MB / 1.395 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/0.5251, allocations: 1.407 MB / 1.396 GB, free: 10.3 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005873/0.5309, allocations: 2.114 MB / 1.398 GB, free: 8.191 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003341/0.5343, allocations: 1.522 MB / 1.399 GB, free: 6.664 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004993/0.5348, allocations: 260 kB / 1.4 GB, free: 6.41 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004555/0.5393, allocations: 1.732 MB / 1.401 GB, free: 4.676 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007759/0.5401, allocations: 0.6542 MB / 1.402 GB, free: 4.02 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.5418, allocations: 0.9767 MB / 1.403 GB, free: 3.039 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007143/0.5489, allocations: 4.287 MB / 1.407 GB, free: 14.73 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5489, allocations: 4 kB / 1.407 GB, free: 14.73 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5489, allocations: 0 / 1.407 GB, free: 14.73 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.74e-05/0.549, allocations: 4 kB / 1.407 GB, free: 14.73 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.006694/0.5557, allocations: 2.538 MB / 1.41 GB, free: 12.15 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.5557, allocations: 8.031 kB / 1.41 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.5591, allocations: 447.4 kB / 1.41 GB, free: 11.71 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/0.563, allocations: 1.724 MB / 1.412 GB, free: 9.938 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.5631, allocations: 102.2 kB / 1.412 GB, free: 9.836 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.5633, allocations: 139.9 kB / 1.412 GB, free: 9.699 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.566, allocations: 1.39 MB / 1.413 GB, free: 8.211 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.566, allocations: 3.938 kB / 1.413 GB, free: 8.207 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.5661, allocations: 48 kB / 1.413 GB, free: 8.16 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/0.5662, allocations: 28 kB / 1.413 GB, free: 8.133 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.5679, allocations: 0.9373 MB / 1.414 GB, free: 7.188 MB / 1.107 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.01168/0.5796, allocations: 4.844 MB / 1.419 GB, free: 2.254 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.5823, allocations: 1.05 MB / 1.42 GB, free: 1.195 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007718/0.5831, allocations: 434.5 kB / 1.421 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/0.5836, allocations: 88.53 kB / 1.421 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009086/0.5845, allocations: 0.5845 MB / 1.421 GB, free: 48 kB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/0.5845, allocations: 0 / 1.421 GB, free: 48 kB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.006522/0.591, allocations: 2.655 MB / 1.424 GB, free: 13.36 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.5911, allocations: 72.05 kB / 1.424 GB, free: 13.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.5929, allocations: 1.301 MB / 1.425 GB, free: 11.95 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.5931, allocations: 49.7 kB / 1.425 GB, free: 11.89 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007847/0.5939, allocations: 0.697 MB / 1.426 GB, free: 11.19 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/0.5943, allocations: 313.4 kB / 1.426 GB, free: 10.88 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005158/0.5948, allocations: 307.5 kB / 1.426 GB, free: 10.58 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.595, allocations: 357.9 kB / 1.427 GB, free: 10.22 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.5961, allocations: 0.5982 MB / 1.427 GB, free: 9.621 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.5975, allocations: 1.157 MB / 1.428 GB, free: 8.297 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.5995, allocations: 1.258 MB / 1.43 GB, free: 6.957 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.5995, allocations: 4 kB / 1.43 GB, free: 6.953 MB / 1.123 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00337/0.6029, allocations: 1.825 MB / 1.431 GB, free: 5.117 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.6029, allocations: 9.562 kB / 1.431 GB, free: 5.109 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.6029, allocations: 8 kB / 1.431 GB, free: 5.102 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007999/0.6037, allocations: 266.6 kB / 1.432 GB, free: 4.84 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.6052, allocations: 287.5 kB / 1.432 GB, free: 4.559 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.6068, allocations: 1.583 MB / 1.434 GB, free: 2.926 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.6099, allocations: 103.9 kB / 1.434 GB, free: 2.824 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.61, allocations: 59.97 kB / 1.434 GB, free: 2.766 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001779/0.6118, allocations: 0.9334 MB / 1.435 GB, free: 1.828 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001484/0.6133, allocations: 1.153 MB / 1.436 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001927/0.6152, allocations: 1.258 MB / 1.437 GB, free: 15.17 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.738e-06/0.6152, allocations: 0 / 1.437 GB, free: 15.17 MB / 1.139 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.00338/0.6186, allocations: 1.813 MB / 1.439 GB, free: 13.35 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6186, allocations: 12.03 kB / 1.439 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.6187, allocations: 15.98 kB / 1.439 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007033/0.6194, allocations: 256.7 kB / 1.439 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.6206, allocations: 271.6 kB / 1.439 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.6218, allocations: 0.9937 MB / 1.44 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.6248, allocations: 115.9 kB / 1.44 GB, free: 11.67 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.6249, allocations: 55.98 kB / 1.44 GB, free: 11.61 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (seg.TBouCon.iSam,$PRE.seg.TBouCon.iSam,seg.TBouCon.UOld,$PRE.seg.TBouCon.UOld,seg.TBouCon.QAve_flow,$PRE.seg.TBouCon.QAve_flow,$whenCondition1,seg.TBouCon.port.T,$PRE.seg.TBouCon.port.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of prepare postOptimizeDAE: time 0.00045/0.6254, allocations: 259.6 kB / 1.441 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.6257, allocations: 143.1 kB / 1.441 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.6277, allocations: 1.068 MB / 1.442 GB, free: 10.13 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/0.6292, allocations: 0.9517 MB / 1.443 GB, free: 9.137 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6293, allocations: 4 kB / 1.443 GB, free: 9.133 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/0.63, allocations: 263 kB / 1.443 GB, free: 8.875 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.6301, allocations: 27.98 kB / 1.443 GB, free: 8.848 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.6315, allocations: 47.8 kB / 1.443 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.6317, allocations: 64.88 kB / 1.443 GB, free: 8.738 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002785/0.6345, allocations: 1.258 MB / 1.444 GB, free: 7.461 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002367/0.6368, allocations: 1.66 MB / 1.446 GB, free: 5.781 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006048/0.6374, allocations: 407.7 kB / 1.446 GB, free: 5.383 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001364/0.6388, allocations: 0.8539 MB / 1.447 GB, free: 4.527 MB / 1.139 GB Notification: Performance of Backend: time 4.31e-07/0.6388, allocations: 0 / 1.447 GB, free: 4.527 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006228/0.645, allocations: 2.365 MB / 1.45 GB, free: 2.16 MB / 1.139 GB Notification: Performance of SimCode: time 0.007687/0.6527, allocations: 4.224 MB / 1.454 GB, free: 13.89 MB / 1.154 GB Notification: Performance of Templates: time 0.08147/0.7342, allocations: 49.53 MB / 1.502 GB, free: 12.94 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_BoreholeSegment.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.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: 11.856697291994351]