Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones3") translateModel(Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 108.4 kB / 16.38 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 195.6 kB / 17.32 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.507/1.507, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.683e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones3): time 0.006497/0.006525, allocations: 6.185 MB / 0.6789 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3626/0.3692, allocations: 150.2 MB / 0.8256 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006581/0.3699, allocations: 27.09 kB / 0.8256 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3702, allocations: 111.2 kB / 0.8257 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.3705, allocations: 179.9 kB / 0.8259 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.371, allocations: 231.2 kB / 0.8261 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.3716, allocations: 0.6423 MB / 0.8267 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3718, allocations: 162.3 kB / 0.8269 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000783/0.3726, allocations: 302.9 kB / 0.8272 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.3729, allocations: 279.4 kB / 0.8274 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.373, allocations: 39.84 kB / 0.8275 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3732, allocations: 138.1 kB / 0.8276 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0004952/0.3737, allocations: 0.8286 MB / 0.8284 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0001822/0.3739, allocations: 0.5254 MB / 0.8289 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.372e-05/0.374, allocations: 96.45 kB / 0.829 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.255e-05/0.3741, allocations: 30.3 kB / 0.829 GB, free: 42.92 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 (85) * Number of variables: 98 (79) Notification: Performance of Bindings: time 0.001541/0.3756, allocations: 2.343 MB / 0.8313 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 4.709e-05/0.3757, allocations: 57.06 kB / 0.8314 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.001043/0.3767, allocations: 1.493 MB / 0.8328 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of simplify1: time 6.488e-05/0.3768, allocations: 101.5 kB / 0.8329 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of Alias: time 0.001172/0.378, allocations: 1.486 MB / 0.8344 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of simplify2: time 5.654e-05/0.3781, allocations: 84.83 kB / 0.8345 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of Events: time 0.00027/0.3783, allocations: 251 kB / 0.8347 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0004845/0.3788, allocations: 0.6703 MB / 0.8354 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0003588/0.3792, allocations: 0.4906 MB / 0.8359 GB, free: 40.8 MB / 0.6544 GB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [WHEN] (1)when {initial(), $SEV_14} then [----] fmuZonCor.TAveInlet := noEvent((sum(if fmuZonCor.m_flow[i] > 0.0 then fmuZonCor.TInlet[i] * fmuZonCor.m_flow[i] else 0.0 for i in 1:2) + fmuZonCor.m_flow_small * $PRE.fmuZonCor.TAveInlet) / (fmuZonCor.mInlet_flow + fmuZonCor.m_flow_small)) [----] end when; Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (48/67) ************************** (1) [DISS] (1) protected discrete Real fmuZonNor.TRooLast (start = 288.15, min = 0.0, nominal = 300.0) (2) [DISS] (5) protected Real[5] fmuZonCor.yEP (3) [DISS] (1) Real fmuZonNor.QPeo_flow (4) [DISS] (1) protected Real fmuZonNor.tNext (fixed = true, start = fmuZonNor.startTime) (5) [DISS] (1) protected discrete Real fmuZonCor.TAveInlet (start = 288.15, min = 0.0, nominal = 300.0) (6) [DISS] (1) protected discrete Real fmuZonCor.TRooLast (start = 288.15, min = 0.0, nominal = 300.0) (7) [DER-] (1) Real $DER.TZonNor.y (8) [ALGB] (2) Real[2] fmuZonSou.TInlet (9) [DISS] (1) protected Real fmuZonSou.tNext (fixed = true, start = fmuZonSou.startTime) (10) [DISS] (1) protected discrete Real fmuZonSou.dtLast (11) [ALGB] (2) Real[2] fmuZonCor.m_flow (12) [DISS] (1) protected Real fmuZonCor.tNext (fixed = true, start = fmuZonCor.startTime) (13) [DISS] (1) protected discrete Real fmuZonSou.QConLast_flow (fixed = false, start = 0.0) (14) [DISS] (5) protected Real[5] fmuZonSou.yEP (15) [ALGB] (2) Real[2] fmuZonCor.TInlet (16) [ALGB] (1) Real mOut_flow.u (17) [DISS] (1) protected discrete Real fmuZonCor.dtLast (18) [DISS] (1) Real fmuZonNor.TRad (19) [ALGB] (1) Real mOut_flow.y (20) [DISS] (1) protected discrete Real fmuZonNor.mInlet_flow (21) [DISS] (1) Real fmuZonCor.QPeo_flow (22) [DISS] (1) protected discrete Real fmuZonNor.tLast (fixed = true, start = fmuZonNor.startTime) (23) [DISS] (1) Real fmuZonCor.TRad (24) [DISS] (1) protected discrete Real fmuZonSou.tLast (fixed = true, start = fmuZonSou.startTime) (25) [DISS] (5) protected Real[5] fmuZonNor.yEP (26) [DISS] (1) Real fmuZonSou.QPeo_flow (27) [DISS] (1) protected discrete Real fmuZonSou.TRooLast (start = 288.15, min = 0.0, nominal = 300.0) (28) [DISS] (1) protected discrete Real fmuZonCor.tLast (fixed = true, start = fmuZonCor.startTime) (29) [ALGB] (2) Real[2] TIn.y = {293.15 for $i1 in 1:2} (30) [DISS] (1) Real fmuZonNor.QLat_flow (31) [DER-] (1) Real $DER.TZonCor.y (32) [DISS] (1) protected discrete Real fmuZonNor.TAveInlet (start = 288.15, min = 0.0, nominal = 300.0) (33) [DISS] (1) protected discrete Real fmuZonNor.QConLast_flow (fixed = false, start = 0.0) (34) [ALGB] (2) Real[2] fmuZonNor.m_flow (35) [DISS] (1) protected discrete Real fmuZonSou.TAveInlet (start = 288.15, min = 0.0, nominal = 300.0) (36) [DISC] (1) Boolean $SEV_14 (37) [DISC] (1) Boolean $SEV_13 (38) [DER-] (1) Real $DER.TZonSou.y (39) [DISS] (1) Real fmuZonSou.TRad (40) [DISC] (1) Boolean $SEV_12 (41) [DISS] (1) Real fmuZonSou.QLat_flow (42) [DISS] (1) protected discrete Real fmuZonCor.mInlet_flow (43) [ALGB] (2) Real[2] fmuZonNor.TInlet (44) [ALGB] (2) Real[2] fmuZonSou.m_flow (45) [DISS] (1) protected discrete Real fmuZonSou.mInlet_flow (46) [DISS] (1) protected discrete Real fmuZonNor.dtLast (47) [DISS] (1) Real fmuZonCor.QLat_flow (48) [DISS] (1) protected discrete Real fmuZonCor.QConLast_flow (fixed = false, start = 0.0) System Equations (54/67) ************************** (1) [SCAL] (1) $DER.TZonNor.y = TZonNor.k * fmuZonNor.QConLast_flow ($RES_SIM_31) (2) [SCAL] (1) $SEV_12 = time >= $PRE.fmuZonNor.tNext ($RES_EVT_131) (3) [SCAL] (1) $SEV_13 = time >= $PRE.fmuZonSou.tNext ($RES_EVT_132) (4) [SCAL] (1) $SEV_14 = time >= $PRE.fmuZonCor.tNext ($RES_EVT_133) (5) [FOR-] (2) ($RES_BND_116) (5) [----] for $i1 in 1:2 loop (5) [----] [SCAL] (1) TIn[$i1].y = 293.15 ($RES_BND_117) (5) [----] end for; (6) [WHEN] (1)when {initial(), $SEV_12} then (6) [----] fmuZonNor.tLast := time (6) [----] end when; (7) [WHEN] (1)when {initial(), $SEV_12} then (7) [----] fmuZonNor.QPeo_flow := fmuZonNor.yEP[4] (7) [----] end when; (8) [WHEN] (1)when {initial(), $SEV_13} then (8) [----] fmuZonSou.tLast := time (8) [----] end when; (9) [WHEN] (1)when {initial(), $SEV_12} then (9) [----] fmuZonNor.QConLast_flow := fmuZonNor.yEP[2] (9) [----] end when; (10) [WHEN] (1)when {initial(), $SEV_13} then (10) [----] fmuZonSou.QLat_flow := fmuZonSou.yEP[3] (10) [----] end when; (11) [WHEN] (1)when {initial(), $SEV_12} then (11) [----] fmuZonNor.TRad := fmuZonNor.yEP[1] (11) [----] end when; (12) [WHEN] (1)when {initial(), $SEV_13} then (12) [----] fmuZonSou.TRad := fmuZonSou.yEP[1] (12) [----] end when; (13) [WHEN] (1)when {initial(), $SEV_14} then (13) [----] fmuZonCor.tNext := fmuZonCor.yEP[5] (13) [----] end when; (14) [WHEN] (1)when {initial(), $SEV_13} then (14) [----] fmuZonSou.QConLast_flow := fmuZonSou.yEP[2] (14) [----] end when; (15) [WHEN] (1)when {initial(), $SEV_14} then (15) [----] fmuZonCor.QLat_flow := fmuZonCor.yEP[3] (15) [----] end when; (16) [WHEN] (1)when {initial(), $SEV_13} then (16) [----] fmuZonSou.mInlet_flow := noEvent(sum(if fmuZonSou.m_flow[i] > 0.0 then fmuZonSou.m_flow[i] else 0.0 for i in 1:2)) (16) [----] end when; (17) [WHEN] (1)when {initial(), $SEV_14} then (17) [----] fmuZonCor.TRooLast := TZonCor.y (17) [----] end when; (18) [WHEN] (1)when {initial(), $SEV_13} then (18) [----] fmuZonSou.QPeo_flow := fmuZonSou.yEP[4] (18) [----] end when; (19) [WHEN] (1)when {initial(), $SEV_14} then (19) [----] fmuZonCor.QConLast_flow := fmuZonCor.yEP[2] (19) [----] end when; (20) [SCAL] (1) fmuZonNor.m_flow[1] = fmuZonCor.m_flow[1] ($RES_SIM_106) (21) [WHEN] (1)when {initial(), $SEV_13} then (21) [----] fmuZonSou.tNext := fmuZonSou.yEP[5] (21) [----] end when; (22) [WHEN] (1)when {initial(), $SEV_14} then (22) [----] fmuZonCor.dtLast := time - $PRE.fmuZonCor.tLast (22) [----] end when; (23) [SCAL] (1) fmuZonNor.m_flow[1] = mOut_flow.u ($RES_SIM_107) (24) [SCAL] (1) TIn[2].y = fmuZonCor.TInlet[2] ($RES_SIM_91) (25) [WHEN] (1)when {initial(), $SEV_14} then (25) [----] fmuZonCor.TRad := fmuZonCor.yEP[1] (25) [----] end when; (26) [SCAL] (1) fmuZonNor.m_flow[1] = fmuZonSou.m_flow[1] ($RES_SIM_108) (27) [SCAL] (1) TIn[2].y = fmuZonSou.TInlet[2] ($RES_SIM_92) (28) [WHEN] (1)when {initial(), $SEV_14} then (28) [----] fmuZonCor.TAveInlet := noEvent((sum(if fmuZonCor.m_flow[i] > 0.0 then fmuZonCor.TInlet[i] * fmuZonCor.m_flow[i] else 0.0 for i in 1:2) + fmuZonCor.m_flow_small * $PRE.fmuZonCor.TAveInlet) / (fmuZonCor.mInlet_flow + fmuZonCor.m_flow_small)) (28) [----] end when; (29) [SCAL] (1) fmuZonNor.m_flow[1] = 0.0 ($RES_SIM_109) (30) [SCAL] (1) TIn[2].y = fmuZonNor.TInlet[2] ($RES_SIM_93) (31) [WHEN] (1)when {initial(), $SEV_14} then (31) [----] fmuZonCor.tLast := time (31) [----] end when; (32) [SCAL] (1) TIn[1].y = fmuZonCor.TInlet[1] ($RES_SIM_94) (33) [WHEN] (5)when {initial(), $SEV_14} then (33) [----] fmuZonCor.yEP := Buildings.ThermalZones.EnergyPlus.BaseClasses.exchange(fmuZonCor.adapter, false, 5, {TZonCor.y, 0.01 / (1.0 - 0.01), fmuZonCor.mInlet_flow, fmuZonCor.TAveInlet, 0.0, if time > 0.0 then 0.001 * floor(0.5 + 1000.0 * time) else 0.001 * ceil((-0.5) + 1000.0 * time)}, fmuZonCor.AFlo) (33) [----] end when; (34) [SCAL] (1) TIn[1].y = fmuZonSou.TInlet[1] ($RES_SIM_95) (35) [SCAL] (1) TIn[1].y = fmuZonNor.TInlet[1] ($RES_SIM_96) (36) [SCAL] (1) mOut_flow.y = fmuZonCor.m_flow[2] ($RES_SIM_97) (37) [SCAL] (1) mOut_flow.y = fmuZonSou.m_flow[2] ($RES_SIM_98) (38) [SCAL] (1) mOut_flow.y = fmuZonNor.m_flow[2] ($RES_SIM_99) (39) [WHEN] (1)when {initial(), $SEV_12} then (39) [----] fmuZonNor.QLat_flow := fmuZonNor.yEP[3] (39) [----] end when; (40) [WHEN] (1)when {initial(), $SEV_12} then (40) [----] fmuZonNor.dtLast := time - $PRE.fmuZonNor.tLast (40) [----] end when; (41) [WHEN] (1)when {initial(), $SEV_12} then (41) [----] fmuZonNor.TRooLast := TZonNor.y (41) [----] end when; (42) [WHEN] (1)when {initial(), $SEV_12} then (42) [----] fmuZonNor.tNext := fmuZonNor.yEP[5] (42) [----] end when; (43) [WHEN] (5)when {initial(), $SEV_12} then (43) [----] fmuZonNor.yEP := Buildings.ThermalZones.EnergyPlus.BaseClasses.exchange(fmuZonNor.adapter, false, 5, {TZonNor.y, 0.01 / (1.0 - 0.01), fmuZonNor.mInlet_flow, fmuZonNor.TAveInlet, 0.0, if time > 0.0 then 0.001 * floor(0.5 + 1000.0 * time) else 0.001 * ceil((-0.5) + 1000.0 * time)}, fmuZonNor.AFlo) (43) [----] end when; (44) [WHEN] (1)when {initial(), $SEV_13} then (44) [----] fmuZonSou.TAveInlet := noEvent((sum(if fmuZonSou.m_flow[i] > 0.0 then fmuZonSou.TInlet[i] * fmuZonSou.m_flow[i] else 0.0 for i in 1:2) + fmuZonSou.m_flow_small * $PRE.fmuZonSou.TAveInlet) / (fmuZonSou.mInlet_flow + fmuZonSou.m_flow_small)) (44) [----] end when; (45) [WHEN] (1)when {initial(), $SEV_12} then (45) [----] fmuZonNor.mInlet_flow := noEvent(sum(if fmuZonNor.m_flow[i] > 0.0 then fmuZonNor.m_flow[i] else 0.0 for i in 1:2)) (45) [----] end when; (46) [WHEN] (5)when {initial(), $SEV_13} then (46) [----] fmuZonSou.yEP := Buildings.ThermalZones.EnergyPlus.BaseClasses.exchange(fmuZonSou.adapter, false, 5, {TZonSou.y, 0.01 / (1.0 - 0.01), fmuZonSou.mInlet_flow, fmuZonSou.TAveInlet, 0.0, if time > 0.0 then 0.001 * floor(0.5 + 1000.0 * time) else 0.001 * ceil((-0.5) + 1000.0 * time)}, fmuZonSou.AFlo) (46) [----] end when; (47) [WHEN] (1)when {initial(), $SEV_12} then (47) [----] fmuZonNor.TAveInlet := noEvent((sum(if fmuZonNor.m_flow[i] > 0.0 then fmuZonNor.TInlet[i] * fmuZonNor.m_flow[i] else 0.0 for i in 1:2) + fmuZonNor.m_flow_small * $PRE.fmuZonNor.TAveInlet) / (fmuZonNor.mInlet_flow + fmuZonNor.m_flow_small)) (47) [----] end when; (48) [WHEN] (1)when {initial(), $SEV_13} then (48) [----] fmuZonSou.TRooLast := TZonSou.y (48) [----] end when; (49) [WHEN] (1)when {initial(), $SEV_13} then (49) [----] fmuZonSou.dtLast := time - $PRE.fmuZonSou.tLast (49) [----] end when; (50) [SCAL] (1) $DER.TZonSou.y = TZonSou.k * fmuZonSou.QConLast_flow ($RES_SIM_48) (51) [WHEN] (1)when {initial(), $SEV_14} then (51) [----] fmuZonCor.QPeo_flow := fmuZonCor.yEP[4] (51) [----] end when; (52) [SCAL] (1) $DER.TZonCor.y = TZonCor.k * fmuZonCor.QConLast_flow ($RES_SIM_65) (53) [WHEN] (1)when {initial(), $SEV_14} then (53) [----] fmuZonCor.mInlet_flow := noEvent(sum(if fmuZonCor.m_flow[i] > 0.0 then fmuZonCor.m_flow[i] else 0.0 for i in 1:2)) (53) [----] end when; (54) [SCAL] (1) mOut_flow.y = mOut_flow.k * mOut_flow.u ($RES_SIM_68)