Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 108.1 kB / 16.42 MB, free: 6.48 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.001095/0.001095, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.215/1.215, 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 11.0.1-master/package.mo): time 2.375/2.375, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.288e-05, allocations: 5.094 kB / 1.055 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001681/0.001717, allocations: 0.6802 MB / 1.055 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.002975, allocations: 1.053 MB / 1.056 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.003033, allocations: 7.938 kB / 1.056 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.003064, allocations: 0 / 1.056 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.003126, allocations: 3.938 kB / 1.056 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.003416, allocations: 39.83 kB / 1.056 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.003522, allocations: 47.91 kB / 1.056 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.003614, allocations: 15.98 kB / 1.056 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.003679, allocations: 23.86 kB / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.003731, allocations: 19.91 kB / 1.056 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.003751, allocations: 7.938 kB / 1.056 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.003814, allocations: 12 kB / 1.056 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of combineBinaries: time 6.05e-05/0.003882, allocations: 63.31 kB / 1.057 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.614e-05/0.003915, allocations: 39.41 kB / 1.057 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.00394, allocations: 8 kB / 1.057 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.561e-05/0.00396, allocations: 3.984 kB / 1.057 GB, free: 5.762 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.0003526/0.004319, allocations: 300.2 kB / 1.057 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.054e-05/0.004385, allocations: 27.81 kB / 1.057 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002093/0.0046, allocations: 172.2 kB / 1.057 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simplify1: time 2.201e-05/0.00463, allocations: 11.98 kB / 1.057 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002971/0.004931, allocations: 181.2 kB / 1.057 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simplify2: time 1.922e-05/0.004959, allocations: 11.98 kB / 1.057 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of Events: time 0.0001257/0.005091, allocations: 51.89 kB / 1.057 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001512/0.00525, allocations: 98.17 kB / 1.057 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of Partitioning: time 7.771e-05/0.005336, allocations: 52.23 kB / 1.057 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002086/0.00555, allocations: 160.2 kB / 1.058 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001389/0.005698, allocations: 168.4 kB / 1.058 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002309/0.005935, allocations: 236.3 kB / 1.058 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.835e-05/0.005961, allocations: 16.12 kB / 1.058 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.522e-05/0.005981, allocations: 7.984 kB / 1.058 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0004597/0.006445, allocations: 358.4 kB / 1.058 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of Tearing: time 1.063e-05/0.006465, allocations: 0 / 1.058 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of Initialization: time 6.51e-07/0.00647, allocations: 3.938 kB / 1.058 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of Tearing: time 3.797e-06/0.006478, allocations: 3.984 kB / 1.058 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of Categorize: time 9.658e-06/0.006491, allocations: 4 kB / 1.058 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of Solve: time 6.849e-05/0.006564, allocations: 35.97 kB / 1.058 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.406e-06/0.006573, allocations: 0 / 1.058 GB, free: 3.594 MB / 0.8262 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: ......... 2 * 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: .................... 1 (1) {unitDelay1.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {unitDelay1.sampleTrigger, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 3.398e-05/0.006611, allocations: 8.438 kB / 1.058 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0006241/0.00724, allocations: 0.858 MB / 1.059 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of Templates: time 0.002629/0.009879, allocations: 0.7243 MB / 1.06 GB, free: 1.988 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Discrete_Validation_UnitDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches