Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001102/0.001102, allocations: 108.8 kB / 16.42 MB, free: 6.516 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.001124/0.001124, allocations: 186.1 kB / 17.35 MB, free: 5.734 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.175/1.175, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.952/1.952, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.225e-05, allocations: 5.234 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints): time 0.005509/0.005531, allocations: 5.012 MB / 0.9564 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002911/0.008455, allocations: 1.91 MB / 0.9582 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.008851, allocations: 31.88 kB / 0.9582 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.009247, allocations: 201.6 kB / 0.9584 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.009544, allocations: 150.3 kB / 0.9586 GB, free: 352 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.01087, allocations: 0.8535 MB / 0.9594 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.01232, allocations: 1.986 MB / 0.9614 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.01404, allocations: 1.679 MB / 0.963 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005822/0.01463, allocations: 0.6969 MB / 0.9637 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.01519, allocations: 0.7387 MB / 0.9644 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.01541, allocations: 220 kB / 0.9646 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.01568, allocations: 252 kB / 0.9648 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001284/0.01697, allocations: 2.401 MB / 0.9672 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0006851/0.01767, allocations: 1.481 MB / 0.9686 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.01791, allocations: 267.1 kB / 0.9689 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0002927/0.01821, allocations: 138.7 kB / 0.969 GB, free: 5.523 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 (405) * Number of variables: 401 (401) Notification: Performance of Bindings: time 0.005569/0.02379, allocations: 7.174 MB / 0.976 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 0.0007326/0.02453, allocations: 0.9681 MB / 0.977 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.004389/0.02892, allocations: 5.408 MB / 0.9823 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of simplify1: time 0.0002377/0.02917, allocations: 291.6 kB / 0.9825 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of Alias: time 0.0104/0.03958, allocations: 10.56 MB / 0.9928 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simplify2: time 0.0001504/0.03975, allocations: 143.8 kB / 0.993 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of Detect States: time 0.0009846/0.04074, allocations: 1.193 MB / 0.9941 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of Events: time 0.0009684/0.04171, allocations: 0.8843 MB / 0.995 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.001009/0.04273, allocations: 1.074 MB / 0.9961 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of Causalize: time 0.004568/0.04731, allocations: 4.525 MB / 1 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of After Index Reduction Inline: time 0.002404/0.04972, allocations: 2.82 MB / 1.003 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of Inline: time 0.004815/0.05455, allocations: 5.598 MB / 1.009 GB, free: 11.21 MB / 0.795 GB Notification: Performance of Partitioning: time 0.000286/0.05485, allocations: 288.7 kB / 1.009 GB, free: 10.9 MB / 0.795 GB Notification: Performance of Cleanup: time 0.0004501/0.0553, allocations: 0.5469 MB / 1.01 GB, free: 10.34 MB / 0.795 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_148) slice: {}; [SCAL] (1) TZonSet.truHol.toOutputTrue.outPort.set = TZonSet.truHol.outputTrue.inPort[1].set ($RES_SIM_409) slice: {}; [SCAL] (1) TZonSet.truHol.toInitial.outPort.set = TZonSet.truHol.initialStep.inPort[1].set ($RES_SIM_411) slice: {}; [SCAL] (1) TZonSet.truHol.initialStep.outPort[1].reset = TZonSet.truHol.toOutputTrue.outPort.set ($RES_SIM_416) slice: {}; [SCAL] (1) $SEV_32 = (TZonSet.truHol.toInitial.localCondition and TZonSet.truHol.toInitial.inPort.available) and not TZonSet.truHol.toInitial.outPort.occupied ($RES_EVT_506) slice: {}; Notification: Performance of Causalize: time 0.02407/0.07938, allocations: 23.02 MB / 1.032 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of Tearing: time 4.132e-05/0.07945, allocations: 3.938 kB / 1.032 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of Initialization: time 8.92e-07/0.07945, allocations: 0 / 1.032 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of Tearing: time 1.31e-05/0.07947, allocations: 0 / 1.032 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of Categorize: time 3.696e-05/0.07951, allocations: 11.98 kB / 1.032 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of Solve: time 0.001318/0.08084, allocations: 0.7964 MB / 1.033 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of Jacobian: time 3.828e-06/0.08085, allocations: 3.984 kB / 1.033 GB, free: 1.766 MB / 0.8106 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, swi2.u2, 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: ................. 107 (107) {TZonSet.edg.u, TZonSet.cooSetFre.trigger, TZonSet.or1.y, TZonSet.or4.y, 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.intEqu.y, TZonSet.intEqu1.y, TZonSet.or3.u3, 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.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_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: ........... 168 (scalar:168, 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: ........... 280 (scalar:280, 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: ........... 280 (scalar:280, 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.0001262/0.08098, allocations: 141.8 kB / 1.033 GB, free: 1.629 MB / 0.8106 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not TZonSet.truHol.outputTrue.outerStatePort.localActive