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 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.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.001241/0.001241, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001146/0.001146, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.272/1.272, 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.388/2.388, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.147e-05, allocations: 2.281 kB / 1.055 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.005351/0.005387, allocations: 4.119 MB / 1.059 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00401/0.009418, allocations: 2.382 MB / 1.061 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009783/0.01042, allocations: 31.88 kB / 1.061 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006268/0.01105, allocations: 189.7 kB / 1.061 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007577/0.01182, allocations: 142.4 kB / 1.061 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.01372, allocations: 0.6459 MB / 1.062 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.01609, allocations: 1.677 MB / 1.064 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.01756, allocations: 0.907 MB / 1.064 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007973/0.01836, allocations: 0.5526 MB / 1.065 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008087/0.01918, allocations: 0.6336 MB / 1.066 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004113/0.0196, allocations: 176 kB / 1.066 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/0.01997, allocations: 184 kB / 1.066 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001538/0.02152, allocations: 2.154 MB / 1.068 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0008954/0.02243, allocations: 1.358 MB / 1.069 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003722/0.02281, allocations: 239.2 kB / 1.07 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003487/0.02316, allocations: 94.94 kB / 1.07 GB, free: 8.223 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.006577/0.02975, allocations: 6.367 MB / 1.076 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.001123/0.03089, allocations: 0.8953 MB / 1.077 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.4848/0.5157, allocations: 4.494 MB / 1.081 GB, free: 20.74 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0005667/0.5163, allocations: 279.9 kB / 1.081 GB, free: 20.74 MB / 0.8419 GB Notification: Performance of Alias: time 0.01033/0.5266, allocations: 8.575 MB / 1.09 GB, free: 16.35 MB / 0.8419 GB Notification: Performance of simplify2: time 0.000256/0.5269, allocations: 166.8 kB / 1.09 GB, free: 16.3 MB / 0.8419 GB Notification: Performance of Events: time 0.001005/0.5279, allocations: 0.8212 MB / 1.091 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of Detect States: time 0.001155/0.5291, allocations: 1.153 MB / 1.092 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0009266/0.53, allocations: 0.9293 MB / 1.093 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of Causalize: time 0.004026/0.534, allocations: 3.511 MB / 1.096 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.002156/0.5362, allocations: 2.358 MB / 1.099 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of Inline: time 0.005354/0.5416, allocations: 5.686 MB / 1.104 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003045/0.5419, allocations: 308.3 kB / 1.104 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001882/0.5421, allocations: 197.4 kB / 1.105 GB, free: 8.168 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) pre(not swi.u2) = false ($RES_SIM_5) slice: {}; [SCAL] (1) $TEV_14 = false ($RES_SIM_17) slice: {}; Notification: Performance of Causalize: time 0.01467/0.5568, allocations: 13.3 MB / 1.118 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of Tearing: time 1.746e-05/0.5568, allocations: 0 / 1.118 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of Initialization: time 1.954e-06/0.5568, allocations: 0 / 1.118 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of Tearing: time 2.718e-05/0.5569, allocations: 7.406 kB / 1.118 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of Categorize: time 4.284e-05/0.5569, allocations: 8.719 kB / 1.118 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of Solve: time 0.001209/0.5581, allocations: 0.752 MB / 1.118 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.296e-06/0.5581, allocations: 0 / 1.118 GB, free: 2.762 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: ......... 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: ................. 65 (65) {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_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: ........... 133 (scalar:133, 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: ........... 300 (scalar:300, 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 9.574e-05/0.5582, allocations: 103.6 kB / 1.118 GB, free: 2.73 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.k