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 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.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.001146/0.001146, allocations: 111.8 kB / 16.42 MB, free: 6.52 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.001107/0.001107, allocations: 183.1 kB / 17.35 MB, free: 5.723 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.425/2.425, allocations: 472.6 MB / 0.7459 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.748e-05, allocations: 9.031 kB / 1.07 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001784/0.001827, allocations: 0.6687 MB / 1.071 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.00327, allocations: 1.049 MB / 1.072 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.003338, allocations: 0 / 1.072 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.00338, allocations: 3.938 kB / 1.072 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.003459, allocations: 11.92 kB / 1.072 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.003786, allocations: 39.84 kB / 1.072 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.003939, allocations: 39.91 kB / 1.072 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004055, allocations: 19.98 kB / 1.072 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.004122, allocations: 11.94 kB / 1.072 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.004182, allocations: 31.89 kB / 1.072 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.004202, allocations: 4 kB / 1.072 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.275e-05/0.00427, allocations: 11.98 kB / 1.072 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of combineBinaries: time 6.595e-05/0.004342, allocations: 63.27 kB / 1.072 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.943e-05/0.004376, allocations: 43.41 kB / 1.072 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.004403, allocations: 7.938 kB / 1.072 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.717e-05/0.004425, allocations: 0 / 1.072 GB, free: 7.664 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.0003898/0.00482, allocations: 308.2 kB / 1.072 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.122e-05/0.004887, allocations: 27.86 kB / 1.072 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.00024/0.005134, allocations: 168.2 kB / 1.072 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of simplify1: time 2.007e-05/0.005165, allocations: 15.98 kB / 1.072 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of Alias: time 0.0003546/0.005524, allocations: 173.1 kB / 1.073 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of simplify2: time 2.507e-05/0.005558, allocations: 11.98 kB / 1.073 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001461/0.00571, allocations: 74.73 kB / 1.073 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of Events: time 0.0001407/0.005859, allocations: 63.88 kB / 1.073 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.969e-05/0.005937, allocations: 52.23 kB / 1.073 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002115/0.006154, allocations: 168.1 kB / 1.073 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001509/0.006314, allocations: 156.5 kB / 1.073 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of Inline: time 0.000242/0.006563, allocations: 244.3 kB / 1.073 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.037e-05/0.006591, allocations: 20.11 kB / 1.073 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.618e-05/0.006612, allocations: 8 kB / 1.073 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0004671/0.007084, allocations: 354.4 kB / 1.074 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of Tearing: time 1.035e-05/0.007104, allocations: 0 / 1.074 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of Initialization: time 6.42e-07/0.007108, allocations: 0 / 1.074 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of Tearing: time 5.299e-06/0.007118, allocations: 4 kB / 1.074 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of Categorize: time 9.107e-06/0.007131, allocations: 0 / 1.074 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of Solve: time 6.841e-05/0.007204, allocations: 39.95 kB / 1.074 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of Jacobian: time 5.03e-06/0.007215, allocations: 3.938 kB / 1.074 GB, free: 5.504 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.978e-05/0.007258, allocations: 27.5 kB / 1.074 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0006569/0.00792, allocations: 0.8526 MB / 1.075 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of Templates: time 0.002989/0.01092, allocations: 0.718 MB / 1.075 GB, free: 3.887 MB / 0.8419 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