Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.002127/0.002127, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001801/0.001801, allocations: 216.9 kB / 23 MB, free: 4.969 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.339/3.339, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.HexInternalElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.vol1.heatPort.Q_flow|hex.vol2.heatPort.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.vol1.heatPort.Q_flow|hex.vol2.heatPort.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") [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.002108/0.002108, allocations: 73.92 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4466, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.05282/0.4995, allocations: 37.47 MB / 1.364 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0211/0.5206, allocations: 11.54 MB / 1.375 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.5231, allocations: 83.31 kB / 1.375 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.5255, allocations: 0.6715 MB / 1.376 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007524/0.5331, allocations: 2.23 MB / 1.378 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.5376, allocations: 1.455 MB / 1.379 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006293/0.5439, allocations: 3.655 MB / 1.383 GB, free: 7.672 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.5457, allocations: 0.9545 MB / 1.384 GB, free: 6.684 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.5499, allocations: 1.523 MB / 1.385 GB, free: 5.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.5518, allocations: 1.027 MB / 1.386 GB, free: 4.129 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.552, allocations: 132 kB / 1.386 GB, free: 4 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.5553, allocations: 1.439 MB / 1.388 GB, free: 2.559 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.5557, allocations: 346.6 kB / 1.388 GB, free: 2.219 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008918/0.5566, allocations: 0.6145 MB / 1.389 GB, free: 1.602 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004645/0.5612, allocations: 2.655 MB / 1.391 GB, free: 14.94 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5612, allocations: 0 / 1.391 GB, free: 14.94 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5612, allocations: 0 / 1.391 GB, free: 14.94 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.5613, allocations: 4 kB / 1.391 GB, free: 14.93 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003403/0.5647, allocations: 1.733 MB / 1.393 GB, free: 13.16 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.5647, allocations: 8.031 kB / 1.393 GB, free: 13.16 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/0.5652, allocations: 160 kB / 1.393 GB, free: 13 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.5675, allocations: 1.122 MB / 1.394 GB, free: 11.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.5675, allocations: 66 kB / 1.394 GB, free: 11.78 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.5677, allocations: 88 kB / 1.394 GB, free: 11.7 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.5695, allocations: 1.06 MB / 1.395 GB, free: 10.56 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.5696, allocations: 7.938 kB / 1.395 GB, free: 10.55 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.5697, allocations: 36 kB / 1.396 GB, free: 10.52 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.5697, allocations: 23.98 kB / 1.396 GB, free: 10.5 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.5709, allocations: 0.648 MB / 1.396 GB, free: 9.848 MB / 1.092 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.004973/0.5759, allocations: 3.007 MB / 1.399 GB, free: 6.766 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009909/0.5769, allocations: 486 kB / 1.4 GB, free: 6.285 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.5774, allocations: 282.2 kB / 1.4 GB, free: 6.004 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/0.5779, allocations: 84.44 kB / 1.4 GB, free: 5.922 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.5779, allocations: 47 kB / 1.4 GB, free: 5.867 MB / 1.092 GB Notification: Performance of pre-optimization done (n=57): time 2.786e-06/0.5779, allocations: 3.938 kB / 1.4 GB, free: 5.863 MB / 1.092 GB Notification: Performance of matching and sorting (n=57): time 0.002589/0.5805, allocations: 0.898 MB / 1.401 GB, free: 4.945 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.5805, allocations: 55.91 kB / 1.401 GB, free: 4.879 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.5818, allocations: 0.8575 MB / 1.402 GB, free: 3.996 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.5819, allocations: 41.7 kB / 1.402 GB, free: 3.949 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/0.5823, allocations: 0.5238 MB / 1.402 GB, free: 3.418 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.5825, allocations: 218.2 kB / 1.402 GB, free: 3.203 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.5828, allocations: 154.6 kB / 1.403 GB, free: 3.047 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.583, allocations: 341.9 kB / 1.403 GB, free: 2.707 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.5833, allocations: 216.8 kB / 1.403 GB, free: 2.492 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007395/0.5841, allocations: 0.6305 MB / 1.404 GB, free: 1.738 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.585, allocations: 0.5718 MB / 1.404 GB, free: 1.121 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.585, allocations: 0 / 1.404 GB, free: 1.121 MB / 1.092 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001773/0.5868, allocations: 0.8511 MB / 1.405 GB, free: 256 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5868, allocations: 8.438 kB / 1.405 GB, free: 248 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.5868, allocations: 4 kB / 1.405 GB, free: 244 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000682/0.5875, allocations: 163.3 kB / 1.405 GB, free: 68 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.5881, allocations: 139.8 kB / 1.405 GB, free: 15.93 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004521/0.5926, allocations: 4.869 MB / 1.41 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/0.5934, allocations: 75.78 kB / 1.41 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.5935, allocations: 32 kB / 1.41 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008319/0.5943, allocations: 450 kB / 1.411 GB, free: 10.18 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007536/0.595, allocations: 0.6343 MB / 1.411 GB, free: 9.422 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009114/0.596, allocations: 0.5639 MB / 1.412 GB, free: 8.812 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.596, allocations: 0 / 1.412 GB, free: 8.812 MB / 1.107 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001645/0.5976, allocations: 0.8238 MB / 1.413 GB, free: 7.969 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5976, allocations: 8 kB / 1.413 GB, free: 7.961 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5976, allocations: 4 kB / 1.413 GB, free: 7.957 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.598, allocations: 139.7 kB / 1.413 GB, free: 7.809 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.5985, allocations: 135.9 kB / 1.413 GB, free: 7.676 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/0.604, allocations: 5.84 MB / 1.419 GB, free: 1.434 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.6047, allocations: 75.84 kB / 1.419 GB, free: 1.359 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.6048, allocations: 24 kB / 1.419 GB, free: 1.336 MB / 1.107 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 (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002977/0.6051, allocations: 228 kB / 1.419 GB, free: 1.105 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.6053, allocations: 99.39 kB / 1.419 GB, free: 1.008 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.6068, allocations: 0.6959 MB / 1.42 GB, free: 308 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.6079, allocations: 0.6518 MB / 1.42 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.6079, allocations: 4.094 kB / 1.42 GB, free: 15.6 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/0.6083, allocations: 167.1 kB / 1.421 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.6084, allocations: 11.98 kB / 1.421 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.6089, allocations: 31.91 kB / 1.421 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/0.609, allocations: 48.41 kB / 1.421 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001663/0.6107, allocations: 0.7347 MB / 1.421 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001488/0.6122, allocations: 0.9937 MB / 1.422 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003451/0.6125, allocations: 203.9 kB / 1.423 GB, free: 13.39 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008697/0.6134, allocations: 0.5775 MB / 1.423 GB, free: 12.8 MB / 1.123 GB Notification: Performance of Backend: time 4.31e-07/0.6134, allocations: 0 / 1.423 GB, free: 12.8 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0045/0.6179, allocations: 2.108 MB / 1.425 GB, free: 10.58 MB / 1.123 GB Notification: Performance of SimCode: time 0.005045/0.623, allocations: 2.829 MB / 1.428 GB, free: 7.711 MB / 1.123 GB Notification: Performance of Templates: time 0.05225/0.6752, allocations: 29.81 MB / 1.457 GB, free: 10.32 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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: 10.724592029000632]