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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 110.5 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 188.5 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 250.1 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.664/2.664, allocations: 496.2 MB / 0.7826 GB, free: 12.39 MB / 0.6231 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.526e-05, allocations: 2.281 kB / 1.136 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002496/0.002521, allocations: 0.6777 MB / 1.137 GB, free: 11.87 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.004526, allocations: 1.065 MB / 1.138 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.004575, allocations: 0 / 1.138 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.00461, allocations: 3.938 kB / 1.138 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.004688, allocations: 7.938 kB / 1.138 GB, free: 10.78 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.005012, allocations: 39.83 kB / 1.138 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.005147, allocations: 59.84 kB / 1.138 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.005245, allocations: 11.92 kB / 1.138 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.005313, allocations: 19.94 kB / 1.138 GB, free: 10.65 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.005379, allocations: 23.84 kB / 1.138 GB, free: 10.62 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.005395, allocations: 4 kB / 1.138 GB, free: 10.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.005471, allocations: 23.97 kB / 1.138 GB, free: 10.6 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0001018/0.005573, allocations: 67.31 kB / 1.138 GB, free: 10.53 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 4.616e-05/0.005619, allocations: 51.3 kB / 1.138 GB, free: 10.48 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.005643, allocations: 4 kB / 1.138 GB, free: 10.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.24e-05/0.005655, allocations: 4 kB / 1.138 GB, free: 10.47 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0005715/0.006227, allocations: 312.8 kB / 1.139 GB, free: 10.05 MB / 0.92 GB Notification: Performance of FunctionAlias: time 8.233e-05/0.006309, allocations: 26.72 kB / 1.139 GB, free: 10.02 MB / 0.92 GB Notification: Performance of Early Inline: time 0.000303/0.006612, allocations: 160.5 kB / 1.139 GB, free: 9.84 MB / 0.92 GB Notification: Performance of Simplify 1: time 9.086e-05/0.006703, allocations: 60.39 kB / 1.139 GB, free: 9.754 MB / 0.92 GB Notification: Performance of Alias: time 0.0004709/0.007174, allocations: 193.4 kB / 1.139 GB, free: 9.5 MB / 0.92 GB Notification: Performance of Simplify 2: time 7.47e-05/0.007248, allocations: 56.34 kB / 1.139 GB, free: 9.418 MB / 0.92 GB Notification: Performance of Remove Stream: time 6.303e-05/0.007311, allocations: 48.42 kB / 1.139 GB, free: 9.344 MB / 0.92 GB Notification: Performance of Detect States: time 0.0002615/0.007573, allocations: 112.9 kB / 1.139 GB, free: 9.195 MB / 0.92 GB Notification: Performance of Events: time 9.938e-05/0.007672, allocations: 35.91 kB / 1.139 GB, free: 9.16 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0001026/0.007775, allocations: 52.08 kB / 1.14 GB, free: 9.102 MB / 0.92 GB Notification: Performance of Causalize: time 0.0002893/0.008064, allocations: 140 kB / 1.14 GB, free: 8.957 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0001367/0.008201, allocations: 99.83 kB / 1.14 GB, free: 8.859 MB / 0.92 GB Notification: Performance of Simplify: time 0.0002286/0.00843, allocations: 120.6 kB / 1.14 GB, free: 8.691 MB / 0.92 GB Notification: Performance of Inline: time 0.0001977/0.008627, allocations: 135.9 kB / 1.14 GB, free: 8.555 MB / 0.92 GB Notification: Performance of Partitioning: time 2.476e-05/0.008652, allocations: 20.11 kB / 1.14 GB, free: 8.527 MB / 0.92 GB Notification: Performance of Cleanup: time 3.898e-05/0.008691, allocations: 27.97 kB / 1.14 GB, free: 8.5 MB / 0.92 GB Notification: Performance of Causalize: time 0.0004144/0.009105, allocations: 220.5 kB / 1.14 GB, free: 8.273 MB / 0.92 GB Notification: Performance of Tearing: time 8.846e-06/0.009114, allocations: 0 / 1.14 GB, free: 8.273 MB / 0.92 GB Notification: Performance of Initialization: time 4.4e-07/0.009115, allocations: 0 / 1.14 GB, free: 8.273 MB / 0.92 GB Notification: Performance of Remove Dummies: time 3.196e-06/0.009118, allocations: 0 / 1.14 GB, free: 8.273 MB / 0.92 GB Notification: Performance of Tearing: time 3.657e-06/0.009121, allocations: 4 kB / 1.14 GB, free: 8.27 MB / 0.92 GB Notification: Performance of Categorize: time 6.452e-06/0.009128, allocations: 8 kB / 1.14 GB, free: 8.262 MB / 0.92 GB Notification: Performance of Solve: time 8.046e-05/0.009208, allocations: 27.91 kB / 1.14 GB, free: 8.234 MB / 0.92 GB Notification: Performance of Jacobian: time 4.559e-06/0.009213, allocations: 0 / 1.14 GB, free: 8.234 MB / 0.92 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: ......... 1 * 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: .................... 2 (2) {unitDelay1.y, unitDelay1.u_internal} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {unitDelay1.sampleTrigger, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.434e-05/0.009277, allocations: 31.39 kB / 1.14 GB, free: 8.215 MB / 0.92 GB Notification: Performance of SimCode: time 0.0008441/0.01012, allocations: 0.8528 MB / 1.141 GB, free: 7.336 MB / 0.92 GB Notification: Performance of Templates: time 0.003808/0.01393, allocations: 0.688 MB / 1.142 GB, free: 6.648 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.235926130786538]