Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rehBoxCon.TZon|rehBoxCon.TCooSet|rehBoxCon.THeaSet|rehBoxCon.u1Win|rehBoxCon.u1Occ|rehBoxCon.uOpeMod|rehBoxCon.VDis_flow|rehBoxCon.ppmCO2|rehBoxCon.TDis|rehBoxCon.TSup|rehBoxCon.TSupSet|rehBoxCon.oveFloSet|rehBoxCon.oveDamPos|rehBoxCon.uHeaOff|rehBoxCon.u1Fan|rehBoxCon.u1HotPla|rehBoxCon.VSet_flow|rehBoxCon.yDam|rehBoxCon.yVal|rehBoxCon.yZonTemResReq|rehBoxCon.yZonPreResReq|rehBoxCon.yHeaValResReq|rehBoxCon.yHotWatPlaReq|rehBoxCon.yLowFloAla|rehBoxCon.yFloSenAla|rehBoxCon.yLeaDamAla|rehBoxCon.yLeaValAla|rehBoxCon.yLowTemAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rehBoxCon.TZon|rehBoxCon.TCooSet|rehBoxCon.THeaSet|rehBoxCon.u1Win|rehBoxCon.u1Occ|rehBoxCon.uOpeMod|rehBoxCon.VDis_flow|rehBoxCon.ppmCO2|rehBoxCon.TDis|rehBoxCon.TSup|rehBoxCon.TSupSet|rehBoxCon.oveFloSet|rehBoxCon.oveDamPos|rehBoxCon.uHeaOff|rehBoxCon.u1Fan|rehBoxCon.u1HotPla|rehBoxCon.VSet_flow|rehBoxCon.yDam|rehBoxCon.yVal|rehBoxCon.yZonTemResReq|rehBoxCon.yZonPreResReq|rehBoxCon.yHeaValResReq|rehBoxCon.yHotWatPlaReq|rehBoxCon.yLowFloAla|rehBoxCon.yFloSenAla|rehBoxCon.yLeaDamAla|rehBoxCon.yLeaValAla|rehBoxCon.yLowTemAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 114.1 kB / 16.43 MB, free: 6.508 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.001171/0.001171, allocations: 189.5 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.332/2.332, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.447e-05, allocations: 2.281 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller): time 0.01986/0.0199, allocations: 17.34 MB / 1.072 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5127/0.5327, allocations: 8.362 MB / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005233/0.5379, allocations: 156.5 kB / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.5413, allocations: 0.9921 MB / 1.081 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.5452, allocations: 0.7932 MB / 1.082 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007715/0.5529, allocations: 4.02 MB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01367/0.5666, allocations: 10.33 MB / 1.096 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.5786, allocations: 8.141 MB / 1.104 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006608/0.5852, allocations: 3.476 MB / 1.107 GB, free: 0 / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005486/0.5907, allocations: 3.396 MB / 1.11 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002962/0.5937, allocations: 1.216 MB / 1.112 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.5961, allocations: 1.236 MB / 1.113 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.00965/0.6057, allocations: 10.63 MB / 1.123 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.004722/0.6105, allocations: 6.308 MB / 1.129 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002776/0.6133, allocations: 1.299 MB / 1.131 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 0.002005/0.6153, allocations: 0.5091 MB / 1.131 GB, free: 0.6211 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1487 (1475) * Number of variables: 1467 (1455) Notification: Performance of Bindings: time 0.03868/0.654, allocations: 33.55 MB / 1.164 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.006631/0.6606, allocations: 5.288 MB / 1.169 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.04421/0.7049, allocations: 26.49 MB / 1.195 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of simplify1: time 0.003264/0.7082, allocations: 1.211 MB / 1.196 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of Alias: time 0.06438/0.7726, allocations: 45.87 MB / 1.241 GB, free: 164 kB / 0.9512 GB Notification: Performance of simplify2: time 0.001694/0.7743, allocations: 0.7615 MB / 1.242 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of Events: time 0.009082/0.7834, allocations: 5.784 MB / 1.247 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of Detect States: time 0.009956/0.7934, allocations: 7.148 MB / 1.254 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of Partitioning: time 0.009504/0.803, allocations: 5.692 MB / 1.26 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of Causalize: time 0.03663/0.8397, allocations: 22.38 MB / 1.282 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of After Index Reduction Inline: time 0.02621/0.8659, allocations: 16.14 MB / 1.297 GB, free: 6.07 MB / 1.014 GB Notification: Performance of Inline: time 0.04704/0.913, allocations: 31.03 MB / 1.328 GB, free: 7.039 MB / 1.045 GB Notification: Performance of Partitioning: time 0.002718/0.9157, allocations: 1.502 MB / 1.329 GB, free: 5.473 MB / 1.045 GB Notification: Performance of Cleanup: time 0.005093/0.9208, allocations: 3.164 MB / 1.332 GB, free: 2.312 MB / 1.045 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_89 = false ($RES_SIM_46) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.outputTrue.outerStatePort.localActive = $TEV_71 ($RES_SIM_233) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.outputFalse.outerStatePort.localActive = $TEV_76 ($RES_SIM_252) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.outputFalse.outerStatePort.localActive = $TEV_95 ($RES_SIM_322) slice: {}; [SCAL] (1) rehBoxCon.timSup.truHol.outputTrue.outerStatePort.localActive = $TEV_112 ($RES_SIM_518) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.toFalse1.outPort.set = rehBoxCon.damVal.truFalHol1.outputFalse.inPort[2].set ($RES_SIM_1013) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.toTrue1.outPort.set = rehBoxCon.damVal.truFalHol1.outputTrue.inPort[1].set ($RES_SIM_1017) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.toFalse.outPort.set = rehBoxCon.damVal.truFalHol1.outputFalse.inPort[1].set ($RES_SIM_1027) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.outputFalse.outPort[1].reset = rehBoxCon.damVal.truFalHol1.toTrue.outPort.set ($RES_SIM_1029) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.outputTrue.outPort[1].reset = rehBoxCon.damVal.truFalHol1.toFalse.outPort.set ($RES_SIM_1033) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.initialStep.outPort[2].reset = rehBoxCon.damVal.truFalHol.toFalse1.outPort.set ($RES_SIM_1046) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.toFalse1.outPort.set = rehBoxCon.damVal.truFalHol.outputFalse.inPort[2].set ($RES_SIM_1050) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.toTrue.outPort.set = rehBoxCon.damVal.truFalHol.outputTrue.inPort[2].set ($RES_SIM_1052) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.toTrue1.outPort.set = rehBoxCon.damVal.truFalHol.outputTrue.inPort[1].set ($RES_SIM_1054) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.outputFalse.outPort[1].reset = rehBoxCon.damVal.truFalHol.toTrue.outPort.set ($RES_SIM_1066) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.outputTrue.outPort[1].reset = rehBoxCon.damVal.truFalHol.toFalse.outPort.set ($RES_SIM_1070) slice: {}; [SCAL] (1) rehBoxCon.timSup.truHol.toInitial.outPort.set = rehBoxCon.timSup.truHol.initialStep.inPort[1].set ($RES_SIM_1249) slice: {}; [SCAL] (1) rehBoxCon.timSup.truHol.initialStep.outPort[1].reset = rehBoxCon.timSup.truHol.toOutputTrue.outPort.set ($RES_SIM_1254) slice: {}; [SCAL] (1) $SEV_95 = (rehBoxCon.timSup.truHol.toOutputTrue.localCondition and rehBoxCon.timSup.truHol.toOutputTrue.inPort.available) and not rehBoxCon.timSup.truHol.toOutputTrue.outPort.occupied ($RES_EVT_1951) slice: {}; [SCAL] (1) $SEV_94 = (rehBoxCon.timSup.truHol.toInitial.localCondition and rehBoxCon.timSup.truHol.toInitial.inPort.available) and not rehBoxCon.timSup.truHol.toInitial.outPort.occupied ($RES_EVT_1950) slice: {}; [SCAL] (1) $SEV_54 = (rehBoxCon.damVal.truFalHol.toFalse.localCondition and rehBoxCon.damVal.truFalHol.toFalse.inPort.available) and not rehBoxCon.damVal.truFalHol.toFalse.outPort.occupied ($RES_EVT_1908) slice: {}; [SCAL] (1) $SEV_49 = (rehBoxCon.damVal.truFalHol.toTrue1.localCondition and rehBoxCon.damVal.truFalHol.toTrue1.inPort.available) and not rehBoxCon.damVal.truFalHol.toTrue1.outPort.occupied ($RES_EVT_1902) slice: {}; [SCAL] (1) $SEV_43 = (rehBoxCon.damVal.truFalHol1.toTrue.localCondition and rehBoxCon.damVal.truFalHol1.toTrue.inPort.available) and not rehBoxCon.damVal.truFalHol1.toTrue.outPort.occupied ($RES_EVT_1895) slice: {}; [SCAL] (1) $SEV_34 = (rehBoxCon.damVal.truFalHol1.toTrue1.localCondition and rehBoxCon.damVal.truFalHol1.toTrue1.inPort.available) and not rehBoxCon.damVal.truFalHol1.toTrue1.outPort.occupied ($RES_EVT_1883) slice: {}; [SCAL] (1) $SEV_33 = (not rehBoxCon.damVal.truFalHol1.toTrue1.localCondition and rehBoxCon.damVal.truFalHol1.toFalse1.inPort.available) and not rehBoxCon.damVal.truFalHol1.toFalse1.outPort.occupied ($RES_EVT_1882) slice: {}; [SCAL] (1) rehBoxCon.ala.les2.lesHys.pre_y_start = rehBoxCon.ala.les2.pre_y_start ($RES_BND_2156) slice: {}; [SCAL] (1) rehBoxCon.ala.les1.lesHys.pre_y_start = rehBoxCon.ala.les1.pre_y_start ($RES_BND_2155) slice: {}; [SCAL] (1) rehBoxCon.ala.greThr.greHys.pre_y_start = rehBoxCon.ala.greThr.pre_y_start ($RES_BND_2145) slice: {}; [SCAL] (1) rehBoxCon.conLoo.zerCon1.lesHys.pre_y_start = rehBoxCon.conLoo.zerCon1.pre_y_start ($RES_BND_2133) slice: {}; [SCAL] (1) rehBoxCon.conLoo.zerCon.lesHys.pre_y_start = rehBoxCon.conLoo.zerCon.pre_y_start ($RES_BND_2132) slice: {}; [SCAL] (1) rehBoxCon.sysReq.greThr3.greHys.pre_y_start = rehBoxCon.sysReq.greThr3.pre_y_start ($RES_BND_2074) slice: {}; [SCAL] (1) rehBoxCon.sysReq.greThr2.greHys.pre_y_start = rehBoxCon.sysReq.greThr2.pre_y_start ($RES_BND_2072) slice: {}; [SCAL] (1) rehBoxCon.sysReq.greThr1.greHys.pre_y_start = rehBoxCon.sysReq.greThr1.pre_y_start ($RES_BND_2069) slice: {}; [SCAL] (1) rehBoxCon.sysReq.les1.lesHys.pre_y_start = rehBoxCon.sysReq.les1.pre_y_start ($RES_BND_2066) slice: {}; [SCAL] (1) rehBoxCon.sysReq.les.lesHys.pre_y_start = rehBoxCon.sysReq.les.pre_y_start ($RES_BND_2065) slice: {}; [SCAL] (1) supFan.y = $PRE.supFan.y ($RES_SRT_2422) slice: {}; Notification: Performance of Causalize: time 0.1926/1.113, allocations: 126.9 MB / 1.456 GB, free: 3.742 MB / 1.17 GB Notification: Performance of Tearing: time 8.199e-05/1.114, allocations: 0 / 1.456 GB, free: 3.742 MB / 1.17 GB Notification: Performance of Initialization: time 1.002e-06/1.114, allocations: 4 kB / 1.456 GB, free: 3.738 MB / 1.17 GB Notification: Performance of Tearing: time 4.58e-05/1.114, allocations: 15.88 kB / 1.456 GB, free: 3.723 MB / 1.17 GB Notification: Performance of Categorize: time 8.642e-05/1.114, allocations: 27.94 kB / 1.456 GB, free: 3.695 MB / 1.17 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNPROCESSED) ------------------------------------------------------ ### Variable: rehBoxCon.damVal.truFalHol.initialStep.outPort[$i1].available ### Equation: [SCAL] (1) rehBoxCon.actAirSet.max2.y = max(rehBoxCon.actAirSet.pro.u2, rehBoxCon.actAirSet.heaMaxAir.k) ($RES_SIM_788) slice: {-1, 0}