Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.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.00153/0.00153, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001408/0.001408, allocations: 217.3 kB / 23.07 MB, free: 4.848 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.404/1.404, allocations: 230.7 MB / 256.9 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.021/3.021, allocations: 0.4893 GB / 0.7952 GB, free: 35.36 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.73e-05, allocations: 5.094 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002078/0.002095, allocations: 1.442 MB / 1.156 GB, free: 24.62 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0006799/0.002775, allocations: 445.3 kB / 1.156 GB, free: 24.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.002811, allocations: 1.156 kB / 1.156 GB, free: 24.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.002837, allocations: 9.562 kB / 1.156 GB, free: 24.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.002908, allocations: 12.77 kB / 1.156 GB, free: 24.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.003044, allocations: 18.83 kB / 1.156 GB, free: 24.31 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.003157, allocations: 53.06 kB / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.003244, allocations: 9.031 kB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.003313, allocations: 28.2 kB / 1.156 GB, free: 24.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.003373, allocations: 18.56 kB / 1.156 GB, free: 24.26 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.003392, allocations: 3.938 kB / 1.156 GB, free: 24.26 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.003403, allocations: 2.938 kB / 1.156 GB, free: 24.26 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.847e-05/0.003491, allocations: 83.33 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.352e-05/0.003515, allocations: 52.19 kB / 1.156 GB, free: 24.17 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.003539, allocations: 4.125 kB / 1.156 GB, free: 24.17 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.52e-05/0.003554, allocations: 3.094 kB / 1.157 GB, free: 24.17 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 (6) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0003798/0.003934, allocations: 336.9 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.97e-05/0.003973, allocations: 34.7 kB / 1.157 GB, free: 23.78 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001012/0.004075, allocations: 135.7 kB / 1.157 GB, free: 23.67 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 7e-05/0.004145, allocations: 81.03 kB / 1.157 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002849/0.004429, allocations: 177.4 kB / 1.157 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.595e-05/0.004475, allocations: 74.73 kB / 1.157 GB, free: 23.29 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.825e-05/0.004504, allocations: 50.16 kB / 1.157 GB, free: 23.23 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000137/0.004641, allocations: 118.8 kB / 1.157 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.441e-05/0.004715, allocations: 32.44 kB / 1.157 GB, free: 23.08 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.856e-05/0.004804, allocations: 68.42 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001845/0.004988, allocations: 106.4 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001115/0.0051, allocations: 120.5 kB / 1.158 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002673/0.005367, allocations: 158.9 kB / 1.158 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000137/0.005504, allocations: 167.6 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.448e-05/0.005518, allocations: 12.61 kB / 1.158 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.499e-05/0.005553, allocations: 40.67 kB / 1.158 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.00025/0.005803, allocations: 158.2 kB / 1.158 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.979e-06/0.005813, allocations: 5.375 kB / 1.158 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.005814, allocations: 0 / 1.158 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.334e-05/0.005827, allocations: 11.94 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.428e-06/0.005831, allocations: 3.938 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.787e-06/0.005835, allocations: 10.44 kB / 1.158 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.783e-06/0.005842, allocations: 4.172 kB / 1.158 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.663e-05/0.005929, allocations: 47.25 kB / 1.158 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.263e-06/0.005936, allocations: 0 / 1.158 GB, free: 22.54 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) {booleanPulse.pulseStart, del.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {del.y, del.sampleTrigger, del.ySample, booleanPulse.y, $SEV_0, $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: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:1, 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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.705e-05/0.006003, allocations: 31.12 kB / 1.158 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003077/0.006311, allocations: 209.2 kB / 1.159 GB, free: 22.37 MB / 0.9044 GB Notification: Performance of Templates: time 0.002459/0.00877, allocations: 432.5 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,del.u,del.y Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,del.firstTrigger_start,del.samplePeriod,del.startTime,del.u,del.y,time [Calling sys.exit(0), Time elapsed: 8.136214297963306]