Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Generic.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 111 kB / 16.42 MB, free: 6.527 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.001088/0.001088, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.203/1.203, 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 12.0.0-master/package.mo): time 2.374/2.374, allocations: 472.6 MB / 0.7459 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.059e-05, allocations: 2.281 kB / 1.07 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.004672/0.004703, allocations: 4.101 MB / 1.074 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.007926, allocations: 2.378 MB / 1.076 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.008307, allocations: 35.88 kB / 1.076 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.008676, allocations: 189.7 kB / 1.077 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.008977, allocations: 150.3 kB / 1.077 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.01006, allocations: 0.6505 MB / 1.077 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.01131, allocations: 1.673 MB / 1.079 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4228/0.4342, allocations: 0.907 MB / 1.08 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.435, allocations: 0.5523 MB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.4356, allocations: 0.6319 MB / 1.081 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.4358, allocations: 175.4 kB / 1.081 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.4361, allocations: 193.1 kB / 1.081 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0009148/0.437, allocations: 2.152 MB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0004515/0.4375, allocations: 1.356 MB / 1.085 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.4377, allocations: 238.4 kB / 1.085 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0002811/0.438, allocations: 96.28 kB / 1.085 GB, free: 9.566 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: 320 (320) * Number of variables: 320 (320) Notification: Performance of Bindings: time 0.004471/0.4425, allocations: 6.367 MB / 1.091 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0007035/0.4432, allocations: 0.8976 MB / 1.092 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.003879/0.4471, allocations: 4.498 MB / 1.097 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0003561/0.4475, allocations: 283.5 kB / 1.097 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of Alias: time 0.009629/0.4571, allocations: 8.563 MB / 1.105 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0002986/0.4574, allocations: 171 kB / 1.105 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of Detect States: time 0.001175/0.4586, allocations: 1.131 MB / 1.107 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of Events: time 0.0009397/0.4596, allocations: 0.727 MB / 1.107 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.001077/0.4607, allocations: 0.9399 MB / 1.108 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of Causalize: time 0.003871/0.4645, allocations: 3.51 MB / 1.112 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.002358/0.4669, allocations: 2.368 MB / 1.114 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of Inline: time 0.005925/0.4729, allocations: 5.697 MB / 1.119 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0003815/0.4733, allocations: 313.3 kB / 1.12 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0002572/0.4735, allocations: 201.8 kB / 1.12 GB, free: 5.16 MB / 0.8575 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_15 = false ($RES_SIM_17) slice: {}; [SCAL] (1) swi.u2 = $PRE.swi.u2 ($RES_SRT_549) slice: {}; Notification: Performance of Causalize: time 0.01647/0.49, allocations: 13.31 MB / 1.133 GB, free: 28 kB / 0.8575 GB Notification: Performance of Tearing: time 2.377e-05/0.4901, allocations: 1.281 kB / 1.133 GB, free: 28 kB / 0.8575 GB Notification: Performance of Initialization: time 9.32e-07/0.4901, allocations: 0 / 1.133 GB, free: 28 kB / 0.8575 GB Notification: Performance of Tearing: time 2.432e-05/0.4901, allocations: 6.5 kB / 1.133 GB, free: 24 kB / 0.8575 GB Notification: Performance of Categorize: time 4.003e-05/0.4901, allocations: 10.28 kB / 1.133 GB, free: 20 kB / 0.8575 GB Notification: Performance of Solve: time 0.001408/0.4916, allocations: 0.752 MB / 1.134 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of Jacobian: time 4.358e-06/0.4916, allocations: 0 / 1.134 GB, free: 15.75 MB / 0.8731 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: ......... 15 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 16 (16) {swi.u2, trimRespondLogic2.sampler.y, trimRespondLogic2.sampler.firstTrigger, trimRespondLogic2.uniDel.y, trimRespondLogic2.swi.u2, trimRespondLogic2.tim.t_next, trimRespondLogic1.sampler.y, trimRespondLogic1.sampler.firstTrigger, trimRespondLogic1.uniDel.y, trimRespondLogic1.swi.u2, trimRespondLogic1.tim.t_next, trimRespondLogic.sampler.y, trimRespondLogic.sampler.firstTrigger, trimRespondLogic.uniDel.y, trimRespondLogic.tim.t_next, trimRespondLogic.swi.u2} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 66 (66) {trimRespondLogic.numOfReq, trimRespondLogic.uniDel.sampleTrigger, trimRespondLogic.swi3.u2, trimRespondLogic.sampler.sampleTrigger, trimRespondLogic.and2.u2, trimRespondLogic.and2.y, trimRespondLogic.assMes.u, trimRespondLogic.assMes2.u, trimRespondLogic1.uniDel.sampleTrigger, trimRespondLogic1.swi3.u2, trimRespondLogic1.sampler.sampleTrigger, trimRespondLogic1.and2.u2, trimRespondLogic1.and2.y, trimRespondLogic1.assMes.u, trimRespondLogic1.assMes2.u, trimRespondLogic2.uniDel.sampleTrigger, trimRespondLogic2.swi3.u2, trimRespondLogic2.sampler.sampleTrigger, trimRespondLogic2.and2.u2, trimRespondLogic2.and2.y, trimRespondLogic2.assMes.u, trimRespondLogic2.assMes2.u, reaToInt2.y, $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, $SEV_5, $SEV_4, $SEV_3, $TEV_26, $TEV_25, $TEV_24, $TEV_23, $TEV_22, $TEV_21, $TEV_20, $TEV_19, $TEV_18, $TEV_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 134 (scalar:134, array:0, record:0) * Number of multi strong components: ............ 16 (algorithm:0, when:16, 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: ........... 301 (scalar:301, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:10, 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.0001103/0.4917, allocations: 111.7 kB / 1.134 GB, free: 15.67 MB / 0.8731 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.k