Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_11_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_11_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.0009463/0.0009463, allocations: 107.7 kB / 16.41 MB, free: 5.918 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.0008847/0.0008848, allocations: 189.3 kB / 17.35 MB, free: 5.555 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.114/1.114, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.17/2.17, allocations: 469.8 MB / 0.7431 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.012e-05, allocations: 2.281 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001199/0.001219, allocations: 0.6715 MB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.002262, allocations: 1.049 MB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.002308, allocations: 3.938 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.002334, allocations: 3.984 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.002392, allocations: 7.922 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.002608, allocations: 35.84 kB / 1.068 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.002701, allocations: 51.91 kB / 1.068 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.142e-05/0.002779, allocations: 11.98 kB / 1.068 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.002827, allocations: 15.88 kB / 1.068 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.002873, allocations: 23.91 kB / 1.068 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.00289, allocations: 4 kB / 1.068 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.002947, allocations: 19.92 kB / 1.068 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of combineBinaries: time 5.621e-05/0.003009, allocations: 63.31 kB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.501e-05/0.003038, allocations: 39.41 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.003058, allocations: 8 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.166e-06/0.00307, allocations: 0 / 1.068 GB, free: 11.62 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: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.0002923/0.00337, allocations: 268.2 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.667e-05/0.003432, allocations: 31.81 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001645/0.003602, allocations: 140.2 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simplify1: time 4.06e-05/0.003651, allocations: 44.42 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002327/0.00389, allocations: 148.8 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simplify2: time 4.513e-05/0.003944, allocations: 48.8 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001853/0.004135, allocations: 66.58 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Events: time 0.0001081/0.00425, allocations: 55.83 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.458e-05/0.004313, allocations: 48.23 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001641/0.004482, allocations: 136.1 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001084/0.004598, allocations: 132.3 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001747/0.004779, allocations: 200.5 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.345e-05/0.004799, allocations: 12.12 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.192e-05/0.004825, allocations: 23.97 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003088/0.005138, allocations: 262.4 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of Tearing: time 8.366e-06/0.005155, allocations: 3.938 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of Initialization: time 3.21e-07/0.00516, allocations: 0 / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of Tearing: time 2.655e-06/0.005168, allocations: 8 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of Categorize: time 6.232e-06/0.005178, allocations: 0 / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of Solve: time 5.382e-05/0.005235, allocations: 27.95 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.174e-06/0.005242, allocations: 0 / 1.069 GB, free: 9.633 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: ......... 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.074e-05/0.005277, allocations: 33.12 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005301/0.005811, allocations: 0.8604 MB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of Templates: time 0.002274/0.008094, allocations: 0.7186 MB / 1.071 GB, free: 8 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_UnitDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches