Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001489/0.001488, allocations: 109.4 kB / 16.42 MB, free: 6.477 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.001472/0.001472, allocations: 189.5 kB / 17.36 MB, free: 5.703 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.7111 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/2.864e-05, allocations: 8.328 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints): time 0.006782/0.006827, allocations: 5.023 MB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.01099, allocations: 1.938 MB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.01202, allocations: 27.94 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.01261, allocations: 201.5 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.01303, allocations: 162.3 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.01491, allocations: 0.849 MB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.01681, allocations: 2.017 MB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.01893, allocations: 1.692 MB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007654/0.01971, allocations: 0.7086 MB / 1.031 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.02042, allocations: 0.7582 MB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.02069, allocations: 224 kB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.02105, allocations: 248 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001458/0.02251, allocations: 2.421 MB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0007826/0.0233, allocations: 1.504 MB / 1.036 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.02367, allocations: 275.1 kB / 1.037 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0004807/0.02416, allocations: 138.7 kB / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 (409) * Number of variables: 405 (405) Notification: Performance of Bindings: time 0.006304/0.03047, allocations: 7.222 MB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0008734/0.03136, allocations: 0.9836 MB / 1.045 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.005872/0.03724, allocations: 5.466 MB / 1.05 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0004488/0.03771, allocations: 287.6 kB / 1.05 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of Alias: time 0.01389/0.05161, allocations: 10.69 MB / 1.061 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0003842/0.05205, allocations: 147.8 kB / 1.061 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of Detect States: time 0.001566/0.05363, allocations: 1.216 MB / 1.062 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of Events: time 0.001381/0.05503, allocations: 0.8736 MB / 1.063 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.001542/0.05659, allocations: 1.097 MB / 1.064 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of Causalize: time 0.006359/0.06296, allocations: 4.586 MB / 1.069 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.002778/0.06576, allocations: 2.84 MB / 1.071 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of Inline: time 0.6496/0.7154, allocations: 5.632 MB / 1.077 GB, free: 47.77 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007043/0.7162, allocations: 287.2 kB / 1.077 GB, free: 47.69 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.001154/0.7173, allocations: 0.5681 MB / 1.078 GB, free: 47.66 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_150) slice: {}; [SCAL] (1) TZonSet.truHol.toOutputTrue.outPort.set = TZonSet.truHol.outputTrue.inPort[1].set ($RES_SIM_413) slice: {}; [SCAL] (1) TZonSet.truHol.toInitial.outPort.set = TZonSet.truHol.initialStep.inPort[1].set ($RES_SIM_415) slice: {}; [SCAL] (1) TZonSet.truHol.initialStep.outPort[1].reset = TZonSet.truHol.toOutputTrue.outPort.set ($RES_SIM_420) slice: {}; [SCAL] (1) $SEV_32 = (TZonSet.truHol.toInitial.localCondition and TZonSet.truHol.toInitial.inPort.available) and not TZonSet.truHol.toInitial.outPort.occupied ($RES_EVT_514) slice: {}; Notification: Performance of Causalize: time 0.0419/0.7592, allocations: 23.24 MB / 1.1 GB, free: 40.94 MB / 0.8419 GB Notification: Performance of Tearing: time 6.578e-05/0.7594, allocations: 0 / 1.1 GB, free: 40.94 MB / 0.8419 GB Notification: Performance of Initialization: time 1.893e-06/0.7594, allocations: 1.219 kB / 1.1 GB, free: 40.94 MB / 0.8419 GB Notification: Performance of Tearing: time 2.714e-05/0.7594, allocations: 5.125 kB / 1.1 GB, free: 40.94 MB / 0.8419 GB Notification: Performance of Categorize: time 5.72e-05/0.7595, allocations: 7.062 kB / 1.1 GB, free: 40.94 MB / 0.8419 GB Notification: Performance of Solve: time 0.002471/0.7619, allocations: 0.8167 MB / 1.101 GB, free: 40.65 MB / 0.8419 GB Notification: Performance of Jacobian: time 6.772e-06/0.762, allocations: 0 / 1.101 GB, free: 40.65 MB / 0.8419 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: ................. 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.0002172/0.7622, allocations: 144.4 kB / 1.101 GB, free: 40.61 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not TZonSet.truHol.outputTrue.outerStatePort.localActive