Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones2.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.FMUZoneAdapterZones2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones2") translateModel(Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 103.5 kB / 16.37 MB, free: 6.367 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.0008747/0.0008747, allocations: 195.2 kB / 17.31 MB, free: 5.91 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.113/1.113, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.522/1.522, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/1.896e-05, allocations: 9.734 kB / 0.6728 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones2): time 0.006157/0.006189, allocations: 5.835 MB / 0.6785 GB, free: 28 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3726/0.3788, allocations: 150.1 MB / 0.8251 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005991/0.3795, allocations: 30.72 kB / 0.8251 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.3797, allocations: 87.75 kB / 0.8252 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.38, allocations: 124.7 kB / 0.8253 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.3803, allocations: 159.8 kB / 0.8255 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.3808, allocations: 460.2 kB / 0.8259 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.381, allocations: 115 kB / 0.826 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00072/0.3817, allocations: 221.7 kB / 0.8262 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.382, allocations: 197.8 kB / 0.8264 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.382, allocations: 27.5 kB / 0.8264 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.3822, allocations: 110 kB / 0.8265 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0003668/0.3826, allocations: 0.5842 MB / 0.8271 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0001539/0.3827, allocations: 379.9 kB / 0.8275 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.3828, allocations: 71.58 kB / 0.8275 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.333e-05/0.3829, allocations: 22.5 kB / 0.8276 GB, free: 43.34 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: 69 (60) * Number of variables: 69 (56) Notification: Performance of Bindings: time 0.001155/0.384, allocations: 1.681 MB / 0.8292 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 3.782e-05/0.3841, allocations: 38.64 kB / 0.8292 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0007736/0.3848, allocations: 1.037 MB / 0.8303 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of simplify1: time 5.183e-05/0.3849, allocations: 66.64 kB / 0.8303 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of Alias: time 0.0008403/0.3857, allocations: 1.068 MB / 0.8314 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of simplify2: time 4.382e-05/0.3858, allocations: 56.05 kB / 0.8314 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of Events: time 0.0001889/0.386, allocations: 175.3 kB / 0.8316 GB, free: 42 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0003461/0.3863, allocations: 477.4 kB / 0.832 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0002835/0.3866, allocations: 347.7 kB / 0.8324 GB, free: 41.73 MB / 0.6544 GB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [WHEN] (1)when {initial(), $SEV_8} then [----] 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)) [----] end when; Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (33/46) ************************** (1) [DISS] (5) protected Real[5] fmuZonCor.yEP (2) [DISS] (1) protected discrete Real fmuZonCor.TAveInlet (start = 288.15, min = 0.0, nominal = 300.0) (3) [DISS] (1) protected discrete Real fmuZonCor.TRooLast (start = 288.15, min = 0.0, nominal = 300.0) (4) [ALGB] (2) Real[2] fmuZonSou.TInlet (5) [DISS] (1) protected Real fmuZonSou.tNext (fixed = true, start = fmuZonSou.startTime) (6) [DISS] (1) protected discrete Real fmuZonSou.dtLast (7) [ALGB] (2) Real[2] fmuZonCor.m_flow (8) [DISS] (1) protected Real fmuZonCor.tNext (fixed = true, start = fmuZonCor.startTime) (9) [DISS] (1) protected discrete Real fmuZonSou.QConLast_flow (fixed = false, start = 0.0) (10) [DISS] (5) protected Real[5] fmuZonSou.yEP (11) [ALGB] (2) Real[2] fmuZonCor.TInlet (12) [ALGB] (1) Real mOut_flow.u (13) [DISS] (1) protected discrete Real fmuZonCor.dtLast (14) [ALGB] (1) Real mOut_flow.y (15) [DISS] (1) Real fmuZonCor.QPeo_flow (16) [DISS] (1) Real fmuZonCor.TRad (17) [DISS] (1) protected discrete Real fmuZonSou.tLast (fixed = true, start = fmuZonSou.startTime) (18) [DISS] (1) Real fmuZonSou.QPeo_flow (19) [DISS] (1) protected discrete Real fmuZonSou.TRooLast (start = 288.15, min = 0.0, nominal = 300.0) (20) [DISS] (1) protected discrete Real fmuZonCor.tLast (fixed = true, start = fmuZonCor.startTime) (21) [ALGB] (2) Real[2] TIn.y = {293.15 for $i1 in 1:2} (22) [DER-] (1) Real $DER.TZonCor.y (23) [DISS] (1) protected discrete Real fmuZonSou.TAveInlet (start = 288.15, min = 0.0, nominal = 300.0) (24) [DER-] (1) Real $DER.TZonSou.y (25) [DISS] (1) Real fmuZonSou.TRad (26) [DISS] (1) Real fmuZonSou.QLat_flow (27) [DISS] (1) protected discrete Real fmuZonCor.mInlet_flow (28) [DISC] (1) Boolean $SEV_9 (29) [DISC] (1) Boolean $SEV_8 (30) [ALGB] (2) Real[2] fmuZonSou.m_flow (31) [DISS] (1) protected discrete Real fmuZonSou.mInlet_flow (32) [DISS] (1) Real fmuZonCor.QLat_flow (33) [DISS] (1) protected discrete Real fmuZonCor.QConLast_flow (fixed = false, start = 0.0) System Equations (37/46) ************************** (1) [SCAL] (1) $SEV_8 = time >= $PRE.fmuZonSou.tNext ($RES_EVT_91) (2) [SCAL] (1) $SEV_9 = time >= $PRE.fmuZonCor.tNext ($RES_EVT_92) (3) [WHEN] (1)when {initial(), $SEV_8} then (3) [----] 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)) (3) [----] end when; (4) [WHEN] (1)when {initial(), $SEV_8} then (4) [----] fmuZonSou.QPeo_flow := fmuZonSou.yEP[4] (4) [----] end when; (5) [WHEN] (1)when {initial(), $SEV_8} then (5) [----] fmuZonSou.tNext := fmuZonSou.yEP[5] (5) [----] end when; (6) [WHEN] (1)when {initial(), $SEV_8} then (6) [----] 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)) (6) [----] end when; (7) [WHEN] (5)when {initial(), $SEV_8} then (7) [----] 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) (7) [----] end when; (8) [WHEN] (1)when {initial(), $SEV_8} then (8) [----] fmuZonSou.TRooLast := TZonSou.y (8) [----] end when; (9) [WHEN] (1)when {initial(), $SEV_9} then (9) [----] 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)) (9) [----] end when; (10) [WHEN] (1)when {initial(), $SEV_9} then (10) [----] fmuZonCor.tLast := time (10) [----] end when; (11) [WHEN] (1)when {initial(), $SEV_8} then (11) [----] fmuZonSou.dtLast := time - $PRE.fmuZonSou.tLast (11) [----] end when; (12) [WHEN] (5)when {initial(), $SEV_9} then (12) [----] 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) (12) [----] end when; (13) [WHEN] (1)when {initial(), $SEV_9} then (13) [----] fmuZonCor.QPeo_flow := fmuZonCor.yEP[4] (13) [----] end when; (14) [SCAL] (1) $DER.TZonCor.y = TZonCor.k * fmuZonCor.QConLast_flow ($RES_SIM_38) (15) [WHEN] (1)when {initial(), $SEV_9} then (15) [----] 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)) (15) [----] end when; (16) [SCAL] (1) fmuZonSou.m_flow[1] = fmuZonCor.m_flow[1] ($RES_SIM_70) (17) [SCAL] (1) fmuZonSou.m_flow[1] = mOut_flow.u ($RES_SIM_71) (18) [SCAL] (1) fmuZonSou.m_flow[1] = 0.0 ($RES_SIM_72) (19) [FOR-] (2) ($RES_BND_80) (19) [----] for $i1 in 1:2 loop (19) [----] [SCAL] (1) TIn[$i1].y = 293.15 ($RES_BND_81) (19) [----] end for; (20) [SCAL] (1) $DER.TZonSou.y = TZonSou.k * fmuZonSou.QConLast_flow ($RES_SIM_21) (21) [SCAL] (1) mOut_flow.y = mOut_flow.k * mOut_flow.u ($RES_SIM_41) (22) [WHEN] (1)when {initial(), $SEV_8} then (22) [----] fmuZonSou.tLast := time (22) [----] end when; (23) [WHEN] (1)when {initial(), $SEV_8} then (23) [----] fmuZonSou.QLat_flow := fmuZonSou.yEP[3] (23) [----] end when; (24) [WHEN] (1)when {initial(), $SEV_8} then (24) [----] fmuZonSou.TRad := fmuZonSou.yEP[1] (24) [----] end when; (25) [WHEN] (1)when {initial(), $SEV_8} then (25) [----] fmuZonSou.QConLast_flow := fmuZonSou.yEP[2] (25) [----] end when; (26) [WHEN] (1)when {initial(), $SEV_9} then (26) [----] fmuZonCor.tNext := fmuZonCor.yEP[5] (26) [----] end when; (27) [WHEN] (1)when {initial(), $SEV_9} then (27) [----] fmuZonCor.QLat_flow := fmuZonCor.yEP[3] (27) [----] end when; (28) [WHEN] (1)when {initial(), $SEV_9} then (28) [----] fmuZonCor.TRooLast := TZonCor.y (28) [----] end when; (29) [WHEN] (1)when {initial(), $SEV_9} then (29) [----] fmuZonCor.QConLast_flow := fmuZonCor.yEP[2] (29) [----] end when; (30) [WHEN] (1)when {initial(), $SEV_9} then (30) [----] fmuZonCor.dtLast := time - $PRE.fmuZonCor.tLast (30) [----] end when; (31) [SCAL] (1) TIn[2].y = fmuZonCor.TInlet[2] ($RES_SIM_64) (32) [WHEN] (1)when {initial(), $SEV_9} then (32) [----] fmuZonCor.TRad := fmuZonCor.yEP[1] (32) [----] end when; (33) [SCAL] (1) TIn[2].y = fmuZonSou.TInlet[2] ($RES_SIM_65) (34) [SCAL] (1) TIn[1].y = fmuZonCor.TInlet[1] ($RES_SIM_66) (35) [SCAL] (1) TIn[1].y = fmuZonSou.TInlet[1] ($RES_SIM_67) (36) [SCAL] (1) mOut_flow.y = fmuZonCor.m_flow[2] ($RES_SIM_68) (37) [SCAL] (1) mOut_flow.y = fmuZonSou.m_flow[2] ($RES_SIM_69)