Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 108.3 kB / 19.71 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 217.6 kB / 23.01 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.273/1.273, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.756/2.756, allocations: 0.49 GB / 0.7958 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.292e-05, allocations: 2.281 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001313/0.001326, allocations: 0.6643 MB / 1.156 GB, free: 25.01 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.002277, allocations: 1.087 MB / 1.157 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.002313, allocations: 0 / 1.157 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.002337, allocations: 4.594 kB / 1.157 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.002387, allocations: 9.672 kB / 1.157 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.002608, allocations: 43.97 kB / 1.157 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.645e-05/0.002685, allocations: 57.59 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.402e-05/0.002759, allocations: 6.438 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.002805, allocations: 14.7 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.002843, allocations: 28.61 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.002862, allocations: 6.281 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-05/0.002914, allocations: 29.2 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.983e-05/0.002974, allocations: 80.62 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.823e-05/0.002992, allocations: 52.92 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.003012, allocations: 2.781 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.966e-06/0.003021, allocations: 4.938 kB / 1.157 GB, free: 24.03 MB / 0.9044 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 [SIM] Bindings: time 0.0003257/0.003347, allocations: 345.2 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.845e-05/0.003395, allocations: 43.33 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002005/0.003596, allocations: 206.4 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.822e-05/0.003664, allocations: 93.75 kB / 1.158 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002858/0.00395, allocations: 214.5 kB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.792e-05/0.004008, allocations: 92 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.527e-05/0.004033, allocations: 46.33 kB / 1.158 GB, free: 23.03 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001114/0.004145, allocations: 124.5 kB / 1.158 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 5.644e-05/0.004201, allocations: 38.2 kB / 1.158 GB, free: 22.87 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.76e-05/0.004279, allocations: 62.98 kB / 1.158 GB, free: 22.84 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001443/0.004423, allocations: 107.6 kB / 1.158 GB, free: 22.8 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.833e-05/0.004521, allocations: 134.7 kB / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001527/0.004674, allocations: 159.9 kB / 1.159 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001394/0.004813, allocations: 203.3 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.175e-05/0.004825, allocations: 16.06 kB / 1.159 GB, free: 22.44 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.262e-05/0.004848, allocations: 29.17 kB / 1.159 GB, free: 22.42 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002207/0.005068, allocations: 174.6 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.588e-06/0.005078, allocations: 6.562 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.005078, allocations: 0 / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.928e-06/0.005082, allocations: 1.188 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.925e-06/0.005085, allocations: 13.03 kB / 1.159 GB, free: 22.35 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.869e-06/0.00509, allocations: 1.125 kB / 1.159 GB, free: 22.35 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001336/0.005224, allocations: 115.1 kB / 1.159 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.079e-06/0.005229, allocations: 0 / 1.159 GB, free: 22.31 MB / 0.9044 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 2.731e-05/0.005256, allocations: 28.53 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003639/0.00562, allocations: 257.1 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.002778/0.008398, allocations: 0.7648 MB / 1.16 GB, free: 22 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_UnitDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.148444862104952]