Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 113.2 kB / 16.42 MB, free: 6.523 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.001196/0.001196, allocations: 182 kB / 17.36 MB, free: 5.746 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.233/1.233, allocations: 222.9 MB / 241 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.368/2.368, allocations: 472.6 MB / 0.7459 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.438e-05, allocations: 8.328 kB / 1.07 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002348/0.00238, allocations: 1.486 MB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006546/0.003048, allocations: 438.8 kB / 1.072 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.003098, allocations: 4 kB / 1.072 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.003132, allocations: 3.938 kB / 1.072 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.003214, allocations: 11.92 kB / 1.072 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.003383, allocations: 23.92 kB / 1.072 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.516e-05/0.003486, allocations: 63.77 kB / 1.072 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.003611, allocations: 15.98 kB / 1.072 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.026e-05/0.003666, allocations: 23.92 kB / 1.072 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.003725, allocations: 15.92 kB / 1.072 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.003745, allocations: 4 kB / 1.072 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.003761, allocations: 4 kB / 1.072 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of combineBinaries: time 7.233e-05/0.003837, allocations: 75.2 kB / 1.072 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.178e-05/0.003864, allocations: 43.41 kB / 1.072 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.003893, allocations: 4 kB / 1.072 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.114e-05/0.003919, allocations: 7.938 kB / 1.072 GB, free: 7.457 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0003582/0.004282, allocations: 316.4 kB / 1.072 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 2.174e-05/0.004309, allocations: 15.95 kB / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001215/0.004436, allocations: 144.3 kB / 1.073 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of simplify1: time 1.994e-05/0.004461, allocations: 7.984 kB / 1.073 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004269/0.004892, allocations: 281.4 kB / 1.073 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of simplify2: time 7.685e-06/0.004909, allocations: 11.92 kB / 1.073 GB, free: 6.508 MB / 0.8419 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - offTim1.y}).