<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e88f3-06a3-7731-864d-899344c2d16d,g:10f58c02-6ba6-400f-96ac-71204903a0ff-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="opi-20260630.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e88f3-0763-7744-8a83-384c4f24dc24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e88f3-0763-792f-b4cd-aef0c362ad0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e88f3-0763-7744-8a83-384c4f24dc24" xlink:to="loc_us-gaap_CommonStockValue_019e88f3-0763-792f-b4cd-aef0c362ad0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e88f3-0763-78a8-a633-de703f239192" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e88f3-0763-7744-8a83-384c4f24dc24" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019e88f3-0763-78a8-a633-de703f239192" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e88f3-0763-7ca7-9579-3a5acf4e5203" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e88f3-0763-7744-8a83-384c4f24dc24" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e88f3-0763-7ca7-9579-3a5acf4e5203" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeDividends_019e88f3-0763-7d7e-9d9e-aea87d8019b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CumulativeDividends"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019e88f3-0763-7744-8a83-384c4f24dc24" xlink:to="loc_us-gaap_CumulativeDividends_019e88f3-0763-7d7e-9d9e-aea87d8019b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_LiabilitiesNotSubjectToCompromise_019e88f3-0763-7a3b-a19e-e34d622a6211" xlink:href="opi-20260630.xsd#opi_LiabilitiesNotSubjectToCompromise"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_019e88f3-0763-758b-ae34-853e888560a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019e88f3-0763-7a3b-a19e-e34d622a6211" xlink:to="loc_us-gaap_SecuredDebt_019e88f3-0763-758b-ae34-853e888560a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_LiabilitiesHeldForSaleProperty_019e88f3-0763-7b7a-8d32-57d6ff1b6301" xlink:href="opi-20260630.xsd#opi_LiabilitiesHeldForSaleProperty"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019e88f3-0763-7a3b-a19e-e34d622a6211" xlink:to="loc_opi_LiabilitiesHeldForSaleProperty_019e88f3-0763-7b7a-8d32-57d6ff1b6301" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019e88f3-0763-7942-ba47-25fef9429951" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019e88f3-0763-7a3b-a19e-e34d622a6211" xlink:to="loc_us-gaap_OtherLiabilities_019e88f3-0763-7942-ba47-25fef9429951" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_019e88f3-0763-78d5-8f68-0c638cf3cb83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableOtherCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019e88f3-0763-7a3b-a19e-e34d622a6211" xlink:to="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_019e88f3-0763-78d5-8f68-0c638cf3cb83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffMarketLeaseUnfavorable_019f8859-43c5-75dd-a6b5-daa4b658eee7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OffMarketLeaseUnfavorable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019e88f3-0763-7a3b-a19e-e34d622a6211" xlink:to="loc_us-gaap_OffMarketLeaseUnfavorable_019f8859-43c5-75dd-a6b5-daa4b658eee7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019e88f3-0763-7c40-94a0-cb89e8f25991" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyAtCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_019e88f3-0763-7bd6-b45e-bc101ce0dcaf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Land"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019e88f3-0763-7c40-94a0-cb89e8f25991" xlink:to="loc_us-gaap_Land_019e88f3-0763-7bd6-b45e-bc101ce0dcaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019e88f3-0763-7fe2-88b9-2dd9363463f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentBuildingAndBuildingImprovements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019e88f3-0763-7c40-94a0-cb89e8f25991" xlink:to="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019e88f3-0763-7fe2-88b9-2dd9363463f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_019e88f3-0763-7f60-891a-068165eb31cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019e88f3-0763-76cb-b349-e7e3cd6e0507" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyAtCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019e88f3-0763-7f60-891a-068165eb31cd" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAtCost_019e88f3-0763-76cb-b349-e7e3cd6e0507" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019e88f3-0763-7901-b4c6-d62b21b0ebf7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_RealEstateInvestmentPropertyNet_019e88f3-0763-7f60-891a-068165eb31cd" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019e88f3-0763-7901-b4c6-d62b21b0ebf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e88f3-0763-7782-a0fa-793c446bb4a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_LiabilitiesNotSubjectToCompromise_019e88f3-0763-7f9a-84ab-472cc4832a3f" xlink:href="opi-20260630.xsd#opi_LiabilitiesNotSubjectToCompromise"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e88f3-0763-7782-a0fa-793c446bb4a1" xlink:to="loc_opi_LiabilitiesNotSubjectToCompromise_019e88f3-0763-7f9a-84ab-472cc4832a3f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesSubjectToCompromise_019e88f3-0763-73c3-aea5-ba95ba13ed42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesSubjectToCompromise"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e88f3-0763-7782-a0fa-793c446bb4a1" xlink:to="loc_us-gaap_LiabilitiesSubjectToCompromise_019e88f3-0763-73c3-aea5-ba95ba13ed42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyNet_019e88f3-0763-7dee-bd91-d279d349532e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyNet_019e88f3-0763-7dee-bd91-d279d349532e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentsJointVentures_019e88f3-0763-75c2-9b5e-d4859a04da40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentsJointVentures"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:to="loc_us-gaap_RealEstateInvestmentsJointVentures_019e88f3-0763-75c2-9b5e-d4859a04da40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e88f3-0763-728e-93ca-82509015376d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e88f3-0763-728e-93ca-82509015376d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e88f3-0763-744c-9c49-de0c286de5a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e88f3-0763-744c-9c49-de0c286de5a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_019e88f3-0763-7bd1-920e-2ea4d33ced48" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019e88f3-0763-7bd1-920e-2ea4d33ced48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_019e88f3-0763-7237-b952-11c1229d4c8b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:to="loc_us-gaap_AccountsReceivableNet_019e88f3-0763-7237-b952-11c1229d4c8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsLeasingNet_019e88f3-0763-7b14-9bad-d871fa9e02e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCostsLeasingNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:to="loc_us-gaap_DeferredCostsLeasingNet_019e88f3-0763-7b14-9bad-d871fa9e02e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019e88f3-0763-79b8-88fd-5dc61702f4f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:to="loc_us-gaap_OtherAssets_019e88f3-0763-79b8-88fd-5dc61702f4f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup_019f8858-efbe-75c2-8775-bbb041794bfb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019e88f3-0763-74d9-8f04-67b060130a00" xlink:to="loc_us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup_019f8858-efbe-75c2-8775-bbb041794bfb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e88f3-0763-76fe-a2d5-7abd7a43b249" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e88f3-0763-7d66-bf6b-2906194227ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e88f3-0763-76fe-a2d5-7abd7a43b249" xlink:to="loc_us-gaap_Liabilities_019e88f3-0763-7d66-bf6b-2906194227ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e88f3-0763-74d2-bb32-f9da325b4ac9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e88f3-0763-76fe-a2d5-7abd7a43b249" xlink:to="loc_us-gaap_StockholdersEquity_019e88f3-0763-74d2-bb32-f9da325b4ac9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019e88f3-0763-730d-b18c-258be6ca5421" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e88f3-0763-76fe-a2d5-7abd7a43b249" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019e88f3-0763-730d-b18c-258be6ca5421" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="opi-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ebad4-efe2-7be8-a46c-267d70e5b56c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019ebad4-efe2-7dfd-84ad-3eabf987455c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ebad4-efe2-7be8-a46c-267d70e5b56c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019ebad4-efe2-7dfd-84ad-3eabf987455c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019ebad4-efe2-7a76-8dc4-d8a1442a3d50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ebad4-efe2-7be8-a46c-267d70e5b56c" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019ebad4-efe2-7a76-8dc4-d8a1442a3d50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019ebad4-efe2-782c-ae14-c85d96ad5bc0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ebad4-efe2-7be8-a46c-267d70e5b56c" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019ebad4-efe2-782c-ae14-c85d96ad5bc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7e19-9d4a-1b8d8dfa5bcf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateTaxExpense_019e88f3-0763-7192-bb24-931185b7a647" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateTaxExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7e19-9d4a-1b8d8dfa5bcf" xlink:to="loc_us-gaap_RealEstateTaxExpense_019e88f3-0763-7192-bb24-931185b7a647" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UtilitiesOperatingExpense_019e88f3-0763-7e5f-9347-42f2859c315b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UtilitiesOperatingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7e19-9d4a-1b8d8dfa5bcf" xlink:to="loc_us-gaap_UtilitiesOperatingExpense_019e88f3-0763-7e5f-9347-42f2859c315b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_019e88f3-0763-7fe2-9246-3b7dfa28e92c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7e19-9d4a-1b8d8dfa5bcf" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_019e88f3-0763-7fe2-9246-3b7dfa28e92c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019e88f3-0763-730b-aacd-e5c3f2d93ae0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7e19-9d4a-1b8d8dfa5bcf" xlink:to="loc_us-gaap_DepreciationAndAmortization_019e88f3-0763-730b-aacd-e5c3f2d93ae0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfRealEstate_019e88f3-0763-7298-9e30-857a1bf59a3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfRealEstate"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7e19-9d4a-1b8d8dfa5bcf" xlink:to="loc_us-gaap_ImpairmentOfRealEstate_019e88f3-0763-7298-9e30-857a1bf59a3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019e88f3-0763-7206-b39e-58a468e21e64" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7e19-9d4a-1b8d8dfa5bcf" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019e88f3-0763-7206-b39e-58a468e21e64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019ebabb-33d9-7473-a631-b13a66348015" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7e19-9d4a-1b8d8dfa5bcf" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019ebabb-33d9-7473-a631-b13a66348015" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019e88f3-0763-73e1-b4fa-39f5d6056252" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7843-bae3-fabdb99d7d96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019e88f3-0763-73e1-b4fa-39f5d6056252" xlink:to="loc_us-gaap_CostsAndExpenses_019e88f3-0763-7843-bae3-fabdb99d7d96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_019e88f3-0763-7f69-a297-a4e97e96d0d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfProperties"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019e88f3-0763-73e1-b4fa-39f5d6056252" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_019e88f3-0763-7f69-a297-a4e97e96d0d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_019e88f3-0763-7c0c-a20a-38ab79150382" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019e88f3-0763-73e1-b4fa-39f5d6056252" xlink:to="loc_us-gaap_InterestAndOtherIncome_019e88f3-0763-7c0c-a20a-38ab79150382" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_019e88f3-0763-7577-a965-795f76f52651" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019e88f3-0763-73e1-b4fa-39f5d6056252" xlink:to="loc_us-gaap_InterestExpense_019e88f3-0763-7577-a965-795f76f52651" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_GainLossonExtinguishmentofDebtNet_019e88f3-0763-7c68-812a-1a71e852a37d" xlink:href="opi-20260630.xsd#opi_GainLossonExtinguishmentofDebtNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019e88f3-0763-73e1-b4fa-39f5d6056252" xlink:to="loc_opi_GainLossonExtinguishmentofDebtNet_019e88f3-0763-7c68-812a-1a71e852a37d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019e88f3-0763-75fe-bbcd-316a1ffd9c9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019e88f3-0763-73e1-b4fa-39f5d6056252" xlink:to="loc_us-gaap_Revenues_019e88f3-0763-75fe-bbcd-316a1ffd9c9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReorganizationItems_019e88f3-0763-7511-b98a-be57dd446de7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReorganizationItems"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019e88f3-0763-73e1-b4fa-39f5d6056252" xlink:to="loc_us-gaap_ReorganizationItems_019e88f3-0763-7511-b98a-be57dd446de7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_019f885e-d7eb-72bd-b266-6fa6751504bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAdjustmentOfWarrants"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_019e88f3-0763-73e1-b4fa-39f5d6056252" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_019f885e-d7eb-72bd-b266-6fa6751504bf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="opi-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e88f3-0763-753c-92ea-becc6e88baf1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_NetIncomeLoss_019e88f3-0763-753c-92ea-becc6e88baf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019e88f3-0763-7371-a12e-ba6595d3044f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_Depreciation_019e88f3-0763-7371-a12e-ba6595d3044f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019e88f3-0763-790c-aaa3-a5012ce93aa6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019e88f3-0763-790c-aaa3-a5012ce93aa6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019e88f3-0763-7744-96a7-b4a689f8f067" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019e88f3-0763-7744-96a7-b4a689f8f067" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAmortizationOfDeferredCharges_019e88f3-0763-7494-a3e2-4dca5a01e79b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAmortizationOfDeferredCharges"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_OtherAmortizationOfDeferredCharges_019e88f3-0763-7494-a3e2-4dca5a01e79b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_019e88f3-0763-70cc-8cdf-b3757ea210dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfProperties"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_019e88f3-0763-70cc-8cdf-b3757ea210dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StraightLineRent_019e88f3-0763-79bb-befd-af1e78c5f6c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StraightLineRent"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_StraightLineRent_019e88f3-0763-79bb-befd-af1e78c5f6c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019e88f3-0763-768c-aa3e-4ea27d1132d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019e88f3-0763-768c-aa3e-4ea27d1132d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e88f3-0763-7204-b1ce-ec59ec9d50b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019e88f3-0763-7204-b1ce-ec59ec9d50b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInLeasingReceivables_019e88f3-0763-759f-8ee2-07ac2031451d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInLeasingReceivables"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_IncreaseDecreaseInLeasingReceivables_019e88f3-0763-759f-8ee2-07ac2031451d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_019e88f3-0763-70ea-8b15-2ea7fd5266c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDeferredLeasingFees"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredLeasingFees_019e88f3-0763-70ea-8b15-2ea7fd5266c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e88f3-0763-7dcc-aff2-6edbf7f33ac7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e88f3-0763-7dcc-aff2-6edbf7f33ac7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e88f3-0763-7120-bff2-49449172361f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019e88f3-0763-7120-bff2-49449172361f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_019e88f3-0763-7629-a793-a0813a06f952" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDueToRelatedParties"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_IncreaseDecreaseInDueToRelatedParties_019e88f3-0763-7629-a793-a0813a06f952" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e88f3-0763-708f-b001-564d0a06a58e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e88f3-0763-708f-b001-564d0a06a58e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInDueFromRelatedParties_019e88f3-0763-72f9-81f5-a566b7eaaaf8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInDueFromRelatedParties"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_IncreaseDecreaseInDueFromRelatedParties_019e88f3-0763-72f9-81f5-a566b7eaaaf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_NonCashReorganizationItems_019e88f3-0763-7ad9-be0b-d8241eba73c2" xlink:href="opi-20260630.xsd#opi_NonCashReorganizationItems"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_opi_NonCashReorganizationItems_019e88f3-0763-7ad9-be0b-d8241eba73c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_019fa8c3-fca4-7f64-98d1-014caca6f99b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAdjustmentOfWarrants"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_019fa8c3-fca4-7f64-98d1-014caca6f99b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfRealEstate_019fc545-7640-7699-92c1-2466f22c19c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfRealEstate"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7041-b552-10ba3e00631f" xlink:to="loc_us-gaap_ImpairmentOfRealEstate_019fc545-7640-7699-92c1-2466f22c19c7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-73d8-a72c-db7510f53428" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfUnsecuredDebt_019e88f3-0763-7495-af1b-583fc52a96f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfUnsecuredDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-73d8-a72c-db7510f53428" xlink:to="loc_us-gaap_RepaymentsOfUnsecuredDebt_019e88f3-0763-7495-af1b-583fc52a96f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_019e88f3-0763-74d9-84b1-25e761248b74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-73d8-a72c-db7510f53428" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_019e88f3-0763-74d9-84b1-25e761248b74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e88f3-0763-7955-93c4-af003d1e2d0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-73d8-a72c-db7510f53428" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e88f3-0763-7955-93c4-af003d1e2d0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ProceedsFromIssuanceOfDebtorInPossessionSecuredTermLoan_019e88f3-0763-7b0e-aece-7d13f97a5bd0" xlink:href="opi-20260630.xsd#opi_ProceedsFromIssuanceOfDebtorInPossessionSecuredTermLoan"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-73d8-a72c-db7510f53428" xlink:to="loc_opi_ProceedsFromIssuanceOfDebtorInPossessionSecuredTermLoan_019e88f3-0763-7b0e-aece-7d13f97a5bd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromOtherEquity_019e88f3-0763-7d77-81ed-f161ee7c7a50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromOtherEquity"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-73d8-a72c-db7510f53428" xlink:to="loc_us-gaap_ProceedsFromOtherEquity_019e88f3-0763-7d77-81ed-f161ee7c7a50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e88f3-0763-76b0-8bcc-53e53753277f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-73d8-a72c-db7510f53428" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e88f3-0763-76b0-8bcc-53e53753277f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019fa8ca-f947-78e8-ace4-7f6bb6a38487" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-73d8-a72c-db7510f53428" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019fa8ca-f947-78e8-ace4-7f6bb6a38487" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019fa8ca-f947-7d0a-931c-a0d8eeb72b27" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-73d8-a72c-db7510f53428" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019fa8ca-f947-7d0a-931c-a0d8eeb72b27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e88f3-0763-7701-b4c9-108643f8d9a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToDevelopRealEstateAssets_019e88f3-0763-7c0f-b08c-e496e0268492" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToDevelopRealEstateAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e88f3-0763-7701-b4c9-108643f8d9a9" xlink:to="loc_us-gaap_PaymentsToDevelopRealEstateAssets_019e88f3-0763-7c0f-b08c-e496e0268492" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfRealEstateHeldforinvestment_019e88f3-0763-7d66-87b6-f74aaabad8c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfRealEstateHeldforinvestment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e88f3-0763-7701-b4c9-108643f8d9a9" xlink:to="loc_us-gaap_ProceedsFromSaleOfRealEstateHeldforinvestment_019e88f3-0763-7d66-87b6-f74aaabad8c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e88f3-0763-7526-a94d-29c82c961547" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-75e9-9ce6-13bfdf4135cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e88f3-0763-7526-a94d-29c82c961547" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e88f3-0763-75e9-9ce6-13bfdf4135cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e88f3-0763-7b36-ae27-5f9ecf94ac1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e88f3-0763-7526-a94d-29c82c961547" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e88f3-0763-7b36-ae27-5f9ecf94ac1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7436-a7da-b5d2417b3c04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e88f3-0763-7526-a94d-29c82c961547" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e88f3-0763-7436-a7da-b5d2417b3c04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e88f3-0763-7d97-b0c3-8ad07507ba0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e88f3-0763-7c42-85cc-814053187cc1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e88f3-0763-7d97-b0c3-8ad07507ba0a" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e88f3-0763-7c42-85cc-814053187cc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019e88f3-0763-70cc-b810-0d5c2e04cf84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e88f3-0763-7d97-b0c3-8ad07507ba0a" xlink:to="loc_us-gaap_RestrictedCash_019e88f3-0763-70cc-b810-0d5c2e04cf84" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingEnterpriseValueReconciliationDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingEnterpriseValueReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingEnterpriseValueReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReorganizationValue_019ef33d-1edf-7339-bf0d-1cc280be5220" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReorganizationValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationChapter11EnterpriseValue_019ef33d-1edf-7422-b05f-d9478631fe90" xlink:href="opi-20260630.xsd#opi_ReorganizationChapter11EnterpriseValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationValue_019ef33d-1edf-7339-bf0d-1cc280be5220" xlink:to="loc_opi_ReorganizationChapter11EnterpriseValue_019ef33d-1edf-7422-b05f-d9478631fe90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ef33d-1edf-7fa8-b348-3a5ebcd5d586" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationValue_019ef33d-1edf-7339-bf0d-1cc280be5220" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ef33d-1edf-7fa8-b348-3a5ebcd5d586" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationChapter11InvestmentsInUnconsolidatedEntitiesAtFairValue_019ef33d-1edf-7a85-a719-4c22e79fefcf" xlink:href="opi-20260630.xsd#opi_ReorganizationChapter11InvestmentsInUnconsolidatedEntitiesAtFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationValue_019ef33d-1edf-7339-bf0d-1cc280be5220" xlink:to="loc_opi_ReorganizationChapter11InvestmentsInUnconsolidatedEntitiesAtFairValue_019ef33d-1edf-7a85-a719-4c22e79fefcf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019f607f-8e28-7791-9cb7-32ca1db6b94d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationValue_019ef33d-1edf-7339-bf0d-1cc280be5220" xlink:to="loc_us-gaap_LongTermDebt_019f607f-8e28-7791-9cb7-32ca1db6b94d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationChapter11WarrantLiability_019fadd6-df6d-75af-a8dd-a7a1e72168fb" xlink:href="opi-20260630.xsd#opi_ReorganizationChapter11WarrantLiability"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationValue_019ef33d-1edf-7339-bf0d-1cc280be5220" xlink:to="loc_opi_ReorganizationChapter11WarrantLiability_019fadd6-df6d-75af-a8dd-a7a1e72168fb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingReorganizationValueSuccessorAssetsDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingReorganizationValueSuccessorAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingReorganizationValueSuccessorAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019ef361-a60a-730a-931f-dbfb086a7edb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationChapter11EnterpriseValue_019ef361-a60a-768e-9313-feac93641113" xlink:href="opi-20260630.xsd#opi_ReorganizationChapter11EnterpriseValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef361-a60a-730a-931f-dbfb086a7edb" xlink:to="loc_opi_ReorganizationChapter11EnterpriseValue_019ef361-a60a-768e-9313-feac93641113" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ef361-a60a-7a91-a70d-4423eb713928" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef361-a60a-730a-931f-dbfb086a7edb" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ef361-a60a-7a91-a70d-4423eb713928" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_019ef361-a60a-782d-9bc7-8f825f25c8b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef361-a60a-730a-931f-dbfb086a7edb" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_019ef361-a60a-782d-9bc7-8f825f25c8b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationChapter11InvestmentsInUnconsolidatedEntitiesAtFairValue_019ef361-a60a-7c5c-b81b-a0dd1ecdb330" xlink:href="opi-20260630.xsd#opi_ReorganizationChapter11InvestmentsInUnconsolidatedEntitiesAtFairValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef361-a60a-730a-931f-dbfb086a7edb" xlink:to="loc_opi_ReorganizationChapter11InvestmentsInUnconsolidatedEntitiesAtFairValue_019ef361-a60a-7c5c-b81b-a0dd1ecdb330" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationChapter11WarrantLiability_019ef361-a60a-79b3-922f-4d601346271d" xlink:href="opi-20260630.xsd#opi_ReorganizationChapter11WarrantLiability"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ef361-a60a-730a-931f-dbfb086a7edb" xlink:to="loc_opi_ReorganizationChapter11WarrantLiability_019ef361-a60a-79b3-922f-4d601346271d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingScheduleofDebtorsCondensedCombinedBalanceSheetDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingScheduleofDebtorsCondensedCombinedBalanceSheetDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingScheduleofDebtorsCondensedCombinedBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_opi_LiabilitiesNotSubjectToCompromise_019ef37a-2b73-7ab1-9111-48f78643e910" xlink:href="opi-20260630.xsd#opi_LiabilitiesNotSubjectToCompromise"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_019ef37a-2b73-7e51-9d59-ef700856f3dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019ef37a-2b73-7ab1-9111-48f78643e910" xlink:to="loc_us-gaap_SecuredDebt_019ef37a-2b73-7e51-9d59-ef700856f3dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019ef37a-2b73-773b-9ba9-9878babfdc62" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019ef37a-2b73-7ab1-9111-48f78643e910" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019ef37a-2b73-773b-9ba9-9878babfdc62" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019ef37a-2b73-7dcf-8f62-1fdbe674851e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019ef37a-2b73-7ab1-9111-48f78643e910" xlink:to="loc_us-gaap_OtherLiabilities_019ef37a-2b73-7dcf-8f62-1fdbe674851e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_019ef37a-2b73-7a53-9a82-90613b822346" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableOtherCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019ef37a-2b73-7ab1-9111-48f78643e910" xlink:to="loc_us-gaap_AccountsPayableOtherCurrentAndNoncurrent_019ef37a-2b73-7a53-9a82-90613b822346" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffMarketLeaseUnfavorable_019ef37a-2b73-7b9e-ada3-f9135ab46635" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OffMarketLeaseUnfavorable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_LiabilitiesNotSubjectToCompromise_019ef37a-2b73-7ab1-9111-48f78643e910" xlink:to="loc_us-gaap_OffMarketLeaseUnfavorable_019ef37a-2b73-7b9e-ada3-f9135ab46635" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingCashandCashEquivalentsDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingCashandCashEquivalentsDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingCashandCashEquivalentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019fb05a-4cf9-79f9-a3b3-1ba5d8070306" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_CashProceedsFromRightsOffering_019fb05a-4cf9-75c5-be6c-411e212549a3" xlink:href="opi-20260630.xsd#opi_CashProceedsFromRightsOffering"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019fb05a-4cf9-79f9-a3b3-1ba5d8070306" xlink:to="loc_opi_CashProceedsFromRightsOffering_019fb05a-4cf9-75c5-be6c-411e212549a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReleaseOfFundsHeldInSegregatedBankAccountsToCashAndCashEquivalents_019fb05a-4cf9-7d63-a85e-d5cc87b0f07b" xlink:href="opi-20260630.xsd#opi_ReleaseOfFundsHeldInSegregatedBankAccountsToCashAndCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019fb05a-4cf9-79f9-a3b3-1ba5d8070306" xlink:to="loc_opi_ReleaseOfFundsHeldInSegregatedBankAccountsToCashAndCashEquivalents_019fb05a-4cf9-7d63-a85e-d5cc87b0f07b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_PaymentOfLenderProfessionalFeesAndExpensesIncludingLenderFees_019fb05a-4cf9-7ec0-89ed-705bd2847630" xlink:href="opi-20260630.xsd#opi_PaymentOfLenderProfessionalFeesAndExpensesIncludingLenderFees"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019fb05a-4cf9-79f9-a3b3-1ba5d8070306" xlink:to="loc_opi_PaymentOfLenderProfessionalFeesAndExpensesIncludingLenderFees_019fb05a-4cf9-7ec0-89ed-705bd2847630" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_FundingOfTheProfessionalAndSuccessFeeEscrowClassifiedAsRestrictedCash_019fb05a-4cf9-7f4e-aa8f-f9134e9c980b" xlink:href="opi-20260630.xsd#opi_FundingOfTheProfessionalAndSuccessFeeEscrowClassifiedAsRestrictedCash"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019fb05a-4cf9-79f9-a3b3-1ba5d8070306" xlink:to="loc_opi_FundingOfTheProfessionalAndSuccessFeeEscrowClassifiedAsRestrictedCash_019fb05a-4cf9-7f4e-aa8f-f9134e9c980b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_PaymentOfAccruedInterestOnCertainPrepetitionDebtRestrictedCash_019fb05a-4cf9-7ddc-a5ad-a411931352e8" xlink:href="opi-20260630.xsd#opi_PaymentOfAccruedInterestOnCertainPrepetitionDebtRestrictedCash"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019fb05a-4cf9-79f9-a3b3-1ba5d8070306" xlink:to="loc_opi_PaymentOfAccruedInterestOnCertainPrepetitionDebtRestrictedCash_019fb05a-4cf9-7ddc-a5ad-a411931352e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_PaymentOfBusinessManagementFee_019fb05a-4cf9-705a-88c7-cfad50b88e36" xlink:href="opi-20260630.xsd#opi_PaymentOfBusinessManagementFee"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019fb05a-4cf9-79f9-a3b3-1ba5d8070306" xlink:to="loc_opi_PaymentOfBusinessManagementFee_019fb05a-4cf9-705a-88c7-cfad50b88e36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_PaymentOfFacilityFeesAndExpenses_019fb05a-4cf9-7847-b1d8-83d4f939459a" xlink:href="opi-20260630.xsd#opi_PaymentOfFacilityFeesAndExpenses"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019fb05a-4cf9-79f9-a3b3-1ba5d8070306" xlink:to="loc_opi_PaymentOfFacilityFeesAndExpenses_019fb05a-4cf9-7847-b1d8-83d4f939459a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingRestrictedCashDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingRestrictedCashDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingRestrictedCashDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_opi_RestrictedCashPeriodIncreaseDecreaseIncludingExchangeRateEffectContinuingOperations_019fb05e-eb3f-73e6-bc7f-784adb42556e" xlink:href="opi-20260630.xsd#opi_RestrictedCashPeriodIncreaseDecreaseIncludingExchangeRateEffectContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_FundingOfTheProfessionalAndSuccessFeeEscrowClassifiedAsRestrictedCash_019fb05e-eb3f-7373-bb79-46fe7abc2b4b" xlink:href="opi-20260630.xsd#opi_FundingOfTheProfessionalAndSuccessFeeEscrowClassifiedAsRestrictedCash"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_RestrictedCashPeriodIncreaseDecreaseIncludingExchangeRateEffectContinuingOperations_019fb05e-eb3f-73e6-bc7f-784adb42556e" xlink:to="loc_opi_FundingOfTheProfessionalAndSuccessFeeEscrowClassifiedAsRestrictedCash_019fb05e-eb3f-7373-bb79-46fe7abc2b4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReleaseOfFundsHeldInSegregatedBankAccountsToCashAndCashEquivalents_019fb05e-eb3f-7e1d-aac6-843b373dc889" xlink:href="opi-20260630.xsd#opi_ReleaseOfFundsHeldInSegregatedBankAccountsToCashAndCashEquivalents"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_RestrictedCashPeriodIncreaseDecreaseIncludingExchangeRateEffectContinuingOperations_019fb05e-eb3f-73e6-bc7f-784adb42556e" xlink:to="loc_opi_ReleaseOfFundsHeldInSegregatedBankAccountsToCashAndCashEquivalents_019fb05e-eb3f-7e1d-aac6-843b373dc889" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_PaymentOfLenderProfessionalFeesAndExpensesWithRestrictedCash_019fb05e-eb3f-75a8-a4f9-007cc551e44e" xlink:href="opi-20260630.xsd#opi_PaymentOfLenderProfessionalFeesAndExpensesWithRestrictedCash"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_RestrictedCashPeriodIncreaseDecreaseIncludingExchangeRateEffectContinuingOperations_019fb05e-eb3f-73e6-bc7f-784adb42556e" xlink:to="loc_opi_PaymentOfLenderProfessionalFeesAndExpensesWithRestrictedCash_019fb05e-eb3f-75a8-a4f9-007cc551e44e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_PaymentOfAccruedInterestOnCertainPrepetitionDebt_019fb05e-eb3f-781f-8cdb-042e105dbfdb" xlink:href="opi-20260630.xsd#opi_PaymentOfAccruedInterestOnCertainPrepetitionDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_RestrictedCashPeriodIncreaseDecreaseIncludingExchangeRateEffectContinuingOperations_019fb05e-eb3f-73e6-bc7f-784adb42556e" xlink:to="loc_opi_PaymentOfAccruedInterestOnCertainPrepetitionDebt_019fb05e-eb3f-781f-8cdb-042e105dbfdb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingReorganizationAdjustmentsinSecuredDebtDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingReorganizationAdjustmentsinSecuredDebtDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingReorganizationAdjustmentsinSecuredDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfSecuredDebt_019fb065-fc3d-7015-ac14-994e8011028f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromRepaymentsOfSecuredDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_019fb065-fc3d-7e06-9a75-bb71249aa993" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfSecuredDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProceedsFromRepaymentsOfSecuredDebt_019fb065-fc3d-7015-ac14-994e8011028f" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_019fb065-fc3d-7e06-9a75-bb71249aa993" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_019fb065-fc3d-7445-a309-32130fe68c95" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ProceedsFromRepaymentsOfSecuredDebt_019fb065-fc3d-7015-ac14-994e8011028f" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_019fb065-fc3d-7445-a309-32130fe68c95" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingAccountsPayableandOtherLiabilitiesDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingAccountsPayableandOtherLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingAccountsPayableandOtherLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_AccrualOfCertainSuccessFee_019fb06a-160e-7578-8f43-3e7b559c4f58" xlink:href="opi-20260630.xsd#opi_AccrualOfCertainSuccessFee"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_AccrualOfCertainSuccessFee_019fb06a-160e-7578-8f43-3e7b559c4f58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_IssuanceOfNewWarrants_019fb06a-160e-7696-9789-6bd47cd63506" xlink:href="opi-20260630.xsd#opi_IssuanceOfNewWarrants"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_IssuanceOfNewWarrants_019fb06a-160e-7696-9789-6bd47cd63506" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_AccrualOfSettlementFee_019fb06a-160e-7f8e-b380-c10b135dec31" xlink:href="opi-20260630.xsd#opi_AccrualOfSettlementFee"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_AccrualOfSettlementFee_019fb06a-160e-7f8e-b380-c10b135dec31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReinstatementOfAccountsPayableFromLiabilitiesSubjectToCompromise_019fb06a-160e-7576-be43-45190fa2500d" xlink:href="opi-20260630.xsd#opi_ReinstatementOfAccountsPayableFromLiabilitiesSubjectToCompromise"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_ReinstatementOfAccountsPayableFromLiabilitiesSubjectToCompromise_019fb06a-160e-7576-be43-45190fa2500d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_PaymentOfAccruedLenderFeesAndExpenses_019fb06a-160e-75b4-80c3-7e729a769fe4" xlink:href="opi-20260630.xsd#opi_PaymentOfAccruedLenderFeesAndExpenses"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_PaymentOfAccruedLenderFeesAndExpenses_019fb06a-160e-75b4-80c3-7e729a769fe4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_EquitizationOfDIPFacilityFees_019fb06a-160e-716c-a12d-ec724c5aaf98" xlink:href="opi-20260630.xsd#opi_EquitizationOfDIPFacilityFees"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_EquitizationOfDIPFacilityFees_019fb06a-160e-716c-a12d-ec724c5aaf98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_GainOnSettlementOfPostpetitionAccruedInterest_019fb06a-160e-738e-b309-b4c1a47e5aa1" xlink:href="opi-20260630.xsd#opi_GainOnSettlementOfPostpetitionAccruedInterest"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_GainOnSettlementOfPostpetitionAccruedInterest_019fb06a-160e-738e-b309-b4c1a47e5aa1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReclassificationOfAccountsPayableAndOtherLiabilitiesForPropertiesHeldForSale_019fb06a-160e-7f4a-bcee-44134b0012a4" xlink:href="opi-20260630.xsd#opi_ReclassificationOfAccountsPayableAndOtherLiabilitiesForPropertiesHeldForSale"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_ReclassificationOfAccountsPayableAndOtherLiabilitiesForPropertiesHeldForSale_019fb06a-160e-7f4a-bcee-44134b0012a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_PaymentOfAccruedInterestOnCertainPrepetitionDebtFromCashAndCashEquivalents_019fb06a-160e-7ee2-b7a8-02ed000628f1" xlink:href="opi-20260630.xsd#opi_PaymentOfAccruedInterestOnCertainPrepetitionDebtFromCashAndCashEquivalents"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_PaymentOfAccruedInterestOnCertainPrepetitionDebtFromCashAndCashEquivalents_019fb06a-160e-7ee2-b7a8-02ed000628f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_PaymentOfAccruedInterestOnCertainPrepetitionDebtFromRestrictedCash_019fb06a-160e-7a4c-a5ef-561b0b183ffa" xlink:href="opi-20260630.xsd#opi_PaymentOfAccruedInterestOnCertainPrepetitionDebtFromRestrictedCash"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019fb06a-160e-7a79-b2e7-9b9d1595f30e" xlink:to="loc_opi_PaymentOfAccruedInterestOnCertainPrepetitionDebtFromRestrictedCash_019fb06a-160e-7a4c-a5ef-561b0b183ffa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingIssuanceDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingIssuanceDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingIssuanceDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019ef38b-bf2f-7ede-a90f-c20d4f1a6fbd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityPeriodIncreaseDecrease"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_IssuanceOfReorganizedCommonEquityInConnectionWithTheSettlementOfDIPFacilityAndDIPFacilityFeeClaims_019fae22-2c71-7de4-a1e5-b8f5d70b0635" xlink:href="opi-20260630.xsd#opi_IssuanceOfReorganizedCommonEquityInConnectionWithTheSettlementOfDIPFacilityAndDIPFacilityFeeClaims"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019ef38b-bf2f-7ede-a90f-c20d4f1a6fbd" xlink:to="loc_opi_IssuanceOfReorganizedCommonEquityInConnectionWithTheSettlementOfDIPFacilityAndDIPFacilityFeeClaims_019fae22-2c71-7de4-a1e5-b8f5d70b0635" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_IssuanceOfReorganizedCommonEquityToHoldersOfCertainPrepetitionClaims_019fae22-2c71-765c-be34-902e522215c4" xlink:href="opi-20260630.xsd#opi_IssuanceOfReorganizedCommonEquityToHoldersOfCertainPrepetitionClaims"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019ef38b-bf2f-7ede-a90f-c20d4f1a6fbd" xlink:to="loc_opi_IssuanceOfReorganizedCommonEquityToHoldersOfCertainPrepetitionClaims_019fae22-2c71-765c-be34-902e522215c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_IssuanceOfReorganizedCommonEquityInConnectionWithTheRightsOffering_019fae22-2c71-7b81-9f68-94a686b70ac6" xlink:href="opi-20260630.xsd#opi_IssuanceOfReorganizedCommonEquityInConnectionWithTheRightsOffering"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019ef38b-bf2f-7ede-a90f-c20d4f1a6fbd" xlink:to="loc_opi_IssuanceOfReorganizedCommonEquityInConnectionWithTheRightsOffering_019fae22-2c71-7b81-9f68-94a686b70ac6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_IssuanceOfReorganizedCommonEquityToRMRInConnectionWithAmendedBusinessManagementAgreement_019fae22-2c71-7860-b719-3dfe4a692321" xlink:href="opi-20260630.xsd#opi_IssuanceOfReorganizedCommonEquityToRMRInConnectionWithAmendedBusinessManagementAgreement"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019ef38b-bf2f-7ede-a90f-c20d4f1a6fbd" xlink:to="loc_opi_IssuanceOfReorganizedCommonEquityToRMRInConnectionWithAmendedBusinessManagementAgreement_019fae22-2c71-7860-b719-3dfe4a692321" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_IssuanceOfReorganizedCommonEquityInConnectionWithTheRightsOfferingBackstopAgreement_019fae22-2c71-7a40-94fa-977f4a3dc0f6" xlink:href="opi-20260630.xsd#opi_IssuanceOfReorganizedCommonEquityInConnectionWithTheRightsOfferingBackstopAgreement"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityPeriodIncreaseDecrease_019ef38b-bf2f-7ede-a90f-c20d4f1a6fbd" xlink:to="loc_opi_IssuanceOfReorganizedCommonEquityInConnectionWithTheRightsOfferingBackstopAgreement_019fae22-2c71-7a40-94fa-977f4a3dc0f6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingNetImpactonCumulativeNetLossDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingNetImpactonCumulativeNetLossDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingNetImpactonCumulativeNetLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_opi_NetChangeInCumulativeNetIncome_019fb078-c330-7beb-9b74-31d594fe34f7" xlink:href="opi-20260630.xsd#opi_NetChangeInCumulativeNetIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_TotalReorganizationItemsNet_019fb078-c330-7db7-a6ee-694e2a3bfea6" xlink:href="opi-20260630.xsd#opi_TotalReorganizationItemsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_NetChangeInCumulativeNetIncome_019fb078-c330-7beb-9b74-31d594fe34f7" xlink:to="loc_opi_TotalReorganizationItemsNet_019fb078-c330-7db7-a6ee-694e2a3bfea6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_CancelationOfCommonStockAndAdditionalPaidInCapital_019fb078-c330-71a8-b4cf-5b12a728ca9b" xlink:href="opi-20260630.xsd#opi_CancelationOfCommonStockAndAdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_opi_NetChangeInCumulativeNetIncome_019fb078-c330-7beb-9b74-31d594fe34f7" xlink:to="loc_opi_CancelationOfCommonStockAndAdditionalPaidInCapital_019fb078-c330-71a8-b4cf-5b12a728ca9b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingCumulativeNetIncomeDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingCumulativeNetIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingCumulativeNetIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_019fae5a-88ad-74d7-86a5-b1917f13f4f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Land"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_Land_019fae5a-88ad-74d7-86a5-b1917f13f4f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019fae5a-88ad-7021-a37e-f252ed916867" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentBuildingAndBuildingImprovements"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_InvestmentBuildingAndBuildingImprovements_019fae5a-88ad-7021-a37e-f252ed916867" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019fae5a-88ad-77a3-97be-758df8662109" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_RealEstateInvestmentPropertyAccumulatedDepreciation_019fae5a-88ad-77a3-97be-758df8662109" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateInvestmentsJointVentures_019fae5a-88ad-7b69-a8cd-2ef61dcd0310" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealEstateInvestmentsJointVentures"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_RealEstateInvestmentsJointVentures_019fae5a-88ad-7b69-a8cd-2ef61dcd0310" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup_019fae5a-88ad-78f9-8ab5-f6fba8817dc1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup_019fae5a-88ad-78f9-8ab5-f6fba8817dc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019fae5a-88ad-729d-a961-f3cb1e666d50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019fae5a-88ad-729d-a961-f3cb1e666d50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_019fae5a-88ad-700b-8332-49cc09380636" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNet"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_AccountsReceivableNet_019fae5a-88ad-700b-8332-49cc09380636" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCostsLeasingNet_019fae5a-88ad-7100-b145-d812d54eff6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCostsLeasingNet"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_DeferredCostsLeasingNet_019fae5a-88ad-7100-b145-d812d54eff6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019fae5a-88ad-793f-9739-35ceb49eddc1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_OtherAssets_019fae5a-88ad-793f-9739-35ceb49eddc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_019fae5a-88ad-7552-9a4c-29a5c60286b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_SecuredDebt_019fae5a-88ad-7552-9a4c-29a5c60286b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019fae5a-88ad-76a0-9c7a-79f7814e0e88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_019fae5a-88ad-76a0-9c7a-79f7814e0e88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_019fae5a-88ad-7937-aff9-080caa0b561b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_OtherLiabilities_019fae5a-88ad-7937-aff9-080caa0b561b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffMarketLeaseUnfavorable_019fae5a-88ad-7cb3-872c-2cbe1485847f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OffMarketLeaseUnfavorable"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019fae5a-88ad-7aa2-a7eb-be832c189780" xlink:to="loc_us-gaap_OffMarketLeaseUnfavorable_019fae5a-88ad-7cb3-872c-2cbe1485847f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FreshStartAccountingReorganizationItemsDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FreshStartAccountingReorganizationItemsDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FreshStartAccountingReorganizationItemsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReorganizationItems_019f606c-48ac-7c73-8b58-6e57a12d9d01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReorganizationItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtorReorganizationItemsLegalAndAdvisoryProfessionalFees_019f606c-48ac-7418-9a4b-50a944d9fd20" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtorReorganizationItemsLegalAndAdvisoryProfessionalFees"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019f606c-48ac-7c73-8b58-6e57a12d9d01" xlink:to="loc_us-gaap_DebtorReorganizationItemsLegalAndAdvisoryProfessionalFees_019f606c-48ac-7418-9a4b-50a944d9fd20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts_019f606c-48ac-7c49-8a7f-015dc6370b72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019f606c-48ac-7c73-8b58-6e57a12d9d01" xlink:to="loc_us-gaap_DebtorReorganizationItemsWriteOffOfDeferredFinancingCostsAndDebtDiscounts_019f606c-48ac-7c49-8a7f-015dc6370b72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtorReorganizationItemsInterestIncomeOnAccumulatedCash1_019f606c-48ac-7e57-a1c7-d1d7a7269d8b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtorReorganizationItemsInterestIncomeOnAccumulatedCash1"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019f606c-48ac-7c73-8b58-6e57a12d9d01" xlink:to="loc_us-gaap_DebtorReorganizationItemsInterestIncomeOnAccumulatedCash1_019f606c-48ac-7e57-a1c7-d1d7a7269d8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationGainLossOnSettlementOfLiabilitiesSubjectToCompromise_019faee1-4fce-7f71-98dc-fed7b2c650de" xlink:href="opi-20260630.xsd#opi_ReorganizationGainLossOnSettlementOfLiabilitiesSubjectToCompromise"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019f606c-48ac-7c73-8b58-6e57a12d9d01" xlink:to="loc_opi_ReorganizationGainLossOnSettlementOfLiabilitiesSubjectToCompromise_019faee1-4fce-7f71-98dc-fed7b2c650de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationFreshStartReportingGainLoss_019faee1-4fce-7053-9067-422f3f85a525" xlink:href="opi-20260630.xsd#opi_ReorganizationFreshStartReportingGainLoss"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019f606c-48ac-7c73-8b58-6e57a12d9d01" xlink:to="loc_opi_ReorganizationFreshStartReportingGainLoss_019faee1-4fce-7053-9067-422f3f85a525" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationGainLossOnExtinguishmentOfDebt_019faee1-4fce-72bc-a2fe-4f2708937e82" xlink:href="opi-20260630.xsd#opi_ReorganizationGainLossOnExtinguishmentOfDebt"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019f606c-48ac-7c73-8b58-6e57a12d9d01" xlink:to="loc_opi_ReorganizationGainLossOnExtinguishmentOfDebt_019faee1-4fce-72bc-a2fe-4f2708937e82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_ReorganizationItemsOther_019faee1-4fce-7b98-a159-c9438bf9c34e" xlink:href="opi-20260630.xsd#opi_ReorganizationItemsOther"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ReorganizationItems_019f606c-48ac-7c73-8b58-6e57a12d9d01" xlink:to="loc_opi_ReorganizationItemsOther_019faee1-4fce-7b98-a159-c9438bf9c34e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/PerCommonShareAmountsEarningsPerCommonShareDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#PerCommonShareAmountsEarningsPerCommonShareDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/PerCommonShareAmountsEarningsPerCommonShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e88f3-081f-7614-bf92-e0c14b04fecd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_019e88f3-081f-7ee0-bc66-59473bfa16bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e88f3-081f-7614-bf92-e0c14b04fecd" xlink:to="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_019e88f3-081f-7ee0-bc66-59473bfa16bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e88f3-081f-71e8-adbc-8566aa08ab39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e88f3-081f-7614-bf92-e0c14b04fecd" xlink:to="loc_us-gaap_NetIncomeLoss_019e88f3-081f-71e8-adbc-8566aa08ab39" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/IndebtednessScheduleofLongTermDebtInstrumentsDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#IndebtednessScheduleofLongTermDebtInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/IndebtednessScheduleofLongTermDebtInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019fad68-4f26-7957-a43c-feefe4143087" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019fad68-4f26-787b-8171-d97fc43495a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019fad68-4f26-7957-a43c-feefe4143087" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019fad68-4f26-787b-8171-d97fc43495a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019fad68-4f26-7f6c-a2c5-60d1332cc9ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019fad68-4f26-7957-a43c-feefe4143087" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019fad68-4f26-7f6c-a2c5-60d1332cc9ec" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/FairValueofAssetsandLiabilitiesScheduleofFairValueandCarryingValueofFinancialInstrumentsDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#FairValueofAssetsandLiabilitiesScheduleofFairValueandCarryingValueofFinancialInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/FairValueofAssetsandLiabilitiesScheduleofFairValueandCarryingValueofFinancialInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_019e88f3-0820-75f2-b2f8-e4c5da2d0129" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotes_019e88f3-0820-74c3-981a-7f0c46b22f34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotes"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtFairValue_019e88f3-0820-75f2-b2f8-e4c5da2d0129" xlink:to="loc_us-gaap_SeniorNotes_019e88f3-0820-74c3-981a-7f0c46b22f34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_019e88f3-0820-796f-8390-d01947c07e9e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtFairValue_019e88f3-0820-75f2-b2f8-e4c5da2d0129" xlink:to="loc_us-gaap_SecuredDebt_019e88f3-0820-796f-8390-d01947c07e9e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.opireit.com/role/RelatedPersonTransactionsScheduleOfOtherOperatingExpensesDetails" xlink:type="simple" xlink:href="opi-20260630.xsd#RelatedPersonTransactionsScheduleOfOtherOperatingExpensesDetails"/>
  <link:calculationLink xlink:role="http://www.opireit.com/role/RelatedPersonTransactionsScheduleOfOtherOperatingExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019fa9af-aebe-757c-b268-be6109859d4b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementFeeExpense_019fa9af-aebe-74ae-bea1-c7d8088fdd0e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ManagementFeeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019fa9af-aebe-757c-b268-be6109859d4b" xlink:to="loc_us-gaap_ManagementFeeExpense_019fa9af-aebe-74ae-bea1-c7d8088fdd0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketingAndAdvertisingExpense_019fa9af-aebe-7718-a06a-e9dc9a756fdd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MarketingAndAdvertisingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019fa9af-aebe-757c-b268-be6109859d4b" xlink:to="loc_us-gaap_MarketingAndAdvertisingExpense_019fa9af-aebe-7718-a06a-e9dc9a756fdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_opi_LoyaltyFeeExpense_019fa9af-aebe-7f02-b45c-96c91600833a" xlink:href="opi-20260630.xsd#opi_LoyaltyFeeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019fa9af-aebe-757c-b268-be6109859d4b" xlink:to="loc_opi_LoyaltyFeeExpense_019fa9af-aebe-7f02-b45c-96c91600833a" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
