Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints.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.ThermalZones.Validation.Setpoints,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TZonSet.THeaSet|TZonSet.TCooSet|TZonSet.TOccCooSet|TZonSet.TOccHeaSet|TZonSet.u1Win|TZonSet.u1Occ|TZonSet.uOpeMod|TZonSet.cooSetAdj|TZonSet.heaSetAdj",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TZonSet.THeaSet|TZonSet.TCooSet|TZonSet.TOccCooSet|TZonSet.TOccHeaSet|TZonSet.u1Win|TZonSet.u1Occ|TZonSet.uOpeMod|TZonSet.cooSetAdj|TZonSet.heaSetAdj",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 110.7 kB / 16.42 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.001223/0.001223, allocations: 183.2 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.261/1.261, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.323/2.323, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.149e-05, allocations: 2.281 kB / 1.055 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints): time 0.005957/0.005989, allocations: 5.072 MB / 1.06 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.009044, allocations: 1.941 MB / 1.061 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.009456, allocations: 27.94 kB / 1.062 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.009884, allocations: 197.5 kB / 1.062 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.01019, allocations: 154.2 kB / 1.062 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.01163, allocations: 0.858 MB / 1.063 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.01321, allocations: 2.025 MB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.01502, allocations: 1.712 MB / 1.066 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.01562, allocations: 0.7163 MB / 1.067 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.01621, allocations: 0.7582 MB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000236/0.01645, allocations: 228 kB / 1.068 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.01672, allocations: 259.8 kB / 1.068 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001293/0.01802, allocations: 2.448 MB / 1.071 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0006901/0.01872, allocations: 1.515 MB / 1.072 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.01897, allocations: 279 kB / 1.072 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003083/0.01929, allocations: 126.8 kB / 1.072 GB, free: 5.379 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 (415) * Number of variables: 411 (411) Notification: Performance of Bindings: time 0.5013/0.5206, allocations: 7.317 MB / 1.08 GB, free: 20.88 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0005992/0.5212, allocations: 0.6254 MB / 1.08 GB, free: 20.82 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.004902/0.5261, allocations: 5.526 MB / 1.086 GB, free: 18.91 MB / 0.8419 GB Notification: Performance of simplify1: time 0.000392/0.5265, allocations: 299.6 kB / 1.086 GB, free: 18.76 MB / 0.8419 GB Notification: Performance of Alias: time 0.01335/0.5399, allocations: 10.8 MB / 1.096 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0002562/0.5402, allocations: 155.9 kB / 1.097 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of Events: time 0.001204/0.5414, allocations: 1.011 MB / 1.098 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of Detect States: time 0.001246/0.5426, allocations: 1.263 MB / 1.099 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.001283/0.5439, allocations: 1.111 MB / 1.1 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of Causalize: time 0.007525/0.5515, allocations: 4.687 MB / 1.105 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.003357/0.5548, allocations: 2.887 MB / 1.107 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of Inline: time 0.005727/0.5606, allocations: 5.708 MB / 1.113 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003021/0.5609, allocations: 291.6 kB / 1.113 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0005569/0.5615, allocations: 0.5733 MB / 1.114 GB, free: 3.066 MB / 0.8419 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_24 = false ($RES_SIM_18) slice: {}; [SCAL] (1) TZonSet.truHol.outputTrue.outerStatePort.localActive = $TEV_30 ($RES_SIM_153) slice: {}; [SCAL] (1) TZonSet.truHol.toInitial.outPort.set = TZonSet.truHol.initialStep.inPort[1].set ($RES_SIM_421) slice: {}; [SCAL] (1) TZonSet.truHol.initialStep.outPort[1].reset = TZonSet.truHol.toOutputTrue.outPort.set ($RES_SIM_426) slice: {}; [SCAL] (1) $SEV_36 = (TZonSet.truHol.toOutputTrue.localCondition and TZonSet.truHol.toOutputTrue.inPort.available) and not TZonSet.truHol.toOutputTrue.outPort.occupied ($RES_EVT_524) slice: {}; [SCAL] (1) $SEV_35 = (TZonSet.truHol.toInitial.localCondition and TZonSet.truHol.toInitial.inPort.available) and not TZonSet.truHol.toInitial.outPort.occupied ($RES_EVT_523) slice: {}; Notification: Performance of Causalize: time 0.03241/0.5939, allocations: 23.47 MB / 1.137 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of Tearing: time 5.783e-05/0.594, allocations: 3.172 kB / 1.137 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of Initialization: time 1.412e-06/0.594, allocations: 1.375 kB / 1.137 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of Tearing: time 2.973e-05/0.594, allocations: 5.375 kB / 1.137 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of Categorize: time 5.251e-05/0.5941, allocations: 10.56 kB / 1.137 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of Solve: time 0.002009/0.5961, allocations: 0.8162 MB / 1.137 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of Jacobian: time 4.789e-06/0.5961, allocations: 3.938 kB / 1.137 GB, free: 9.82 MB / 0.8575 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 14 (14) {occSta.y, winSta.y, TZonSet.heaSetSam.y, TZonSet.cooSetSam.y, TZonSet.truHol.toInitial.t_start, TZonSet.truHol.toOutputTrue.t_start, TZonSet.truHol.outputTrue.oldActive, TZonSet.truHol.initialStep.oldActive, TZonSet.truHol.onDelay.t_next, TZonSet.truHol.toInitial.localCondition, TZonSet.tim.entryTime, TZonSet.truHol.toOutputTrue.localCondition, TZonSet.pro7.u2, TZonSet.addPar2.u} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 113 (113) {TZonSet.edg.u, TZonSet.cooSetFre.trigger, TZonSet.or1.y, TZonSet.or4.y, TZonSet.not2.u, TZonSet.truHol.stateGraphRoot.activeSteps, TZonSet.truHol.initialStep.inPort.set, TZonSet.truHol.initialStep.inPort.occupied, TZonSet.truHol.initialStep.outPort.reset, TZonSet.truHol.initialStep.outPort.available, TZonSet.truHol.initialStep.outerStatePort.localActive, TZonSet.truHol.initialStep.newActive, TZonSet.truHol.outputTrue.inPort.set, TZonSet.truHol.outputTrue.inPort.occupied, TZonSet.truHol.outputTrue.outPort.reset, TZonSet.truHol.outputTrue.outPort.available, TZonSet.truHol.outputTrue.outerStatePort.localActive, TZonSet.truHol.outputTrue.newActive, TZonSet.truHol.toOutputTrue.inPort.available, TZonSet.truHol.toOutputTrue.outPort.occupied, TZonSet.truHol.toOutputTrue.outPort.set, TZonSet.truHol.toInitial.inPort.available, TZonSet.truHol.toInitial.outPort.occupied, TZonSet.truHol.toInitial.outPort.set, TZonSet.cooSetSam.trigger, TZonSet.or6.y, TZonSet.or7.y, TZonSet.intEqu.y, TZonSet.intEqu1.y, TZonSet.reaToInt.y, TZonSet.booToRea.u, TZonSet.booToRea1.u, TZonSet.booToRea2.u, TZonSet.booToRea3.u, TZonSet.booToRea4.u, TZonSet.booToRea5.u, TZonSet.and11.y, TZonSet.swi.u2, TZonSet.swi3.u2, TZonSet.swi7.u2, TZonSet.swi8.u2, TZonSet.swi9.u2, TZonSet.swi10.u2, TZonSet.and10.y, TZonSet.intGreThr.y, TZonSet.intGreThr1.y, booToInt.y, not1.u, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $TEV_45, $TEV_44, $TEV_43, $TEV_42, $TEV_41, $TEV_40, $TEV_39, $TEV_38, $TEV_37, $TEV_36, $TEV_35, $TEV_34, $TEV_33, $TEV_32, $TEV_31, $TEV_30, $TEV_29, $TEV_28, $TEV_27, $TEV_26, $TEV_25, $TEV_24} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 174 (scalar:174, array:0, record:0) * Number of multi strong components: ............ 14 (algorithm:0, when:14, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 286 (scalar:286, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 286 (scalar:286, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001541/0.5962, allocations: 150.3 kB / 1.138 GB, free: 9.785 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not TZonSet.truHol.outputTrue.outerStatePort.localActive