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.001441/0.001441, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001603/0.001603, allocations: 210.9 kB / 23.01 MB, free: 4.93 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.331/1.331, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.867/2.867, allocations: 0.49 GB / 0.7958 GB, free: 35.61 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.578e-05/1.578e-05, allocations: 2.281 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001878/0.001894, allocations: 1.449 MB / 1.156 GB, free: 24.25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000632/0.002526, allocations: 445.7 kB / 1.157 GB, free: 23.96 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.002558, allocations: 4.562 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.002581, allocations: 2.562 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.002644, allocations: 16.56 kB / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.002764, allocations: 12.98 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002872, allocations: 52.91 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.823e-05/0.00295, allocations: 9.406 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.003003, allocations: 23.41 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.003054, allocations: 26.52 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.003071, allocations: 5.188 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.003082, allocations: 1.844 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.227e-05/0.003154, allocations: 83.45 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.156e-05/0.003176, allocations: 51.19 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.003198, allocations: 4.062 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.042e-05/0.003218, allocations: 9.891 kB / 1.157 GB, free: 23.79 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.0003855/0.003604, allocations: 324.9 kB / 1.157 GB, free: 23.44 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.272e-05/0.003646, allocations: 35.83 kB / 1.157 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001009/0.003747, allocations: 136.7 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.243e-05/0.00381, allocations: 84.02 kB / 1.158 GB, free: 23.19 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000267/0.004077, allocations: 170.7 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.463e-05/0.004121, allocations: 74.48 kB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.867e-05/0.00415, allocations: 53.2 kB / 1.158 GB, free: 22.85 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001348/0.004285, allocations: 120.9 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.471e-05/0.004369, allocations: 22.58 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001021/0.004472, allocations: 72 kB / 1.158 GB, free: 22.67 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001684/0.00464, allocations: 109 kB / 1.158 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 8.551e-05/0.004725, allocations: 122.5 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001983/0.004924, allocations: 163.9 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.00011/0.005034, allocations: 165.8 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.389e-05/0.005048, allocations: 12.39 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.093e-05/0.005079, allocations: 31.73 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002306/0.005309, allocations: 178.8 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.648e-06/0.005319, allocations: 6.312 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.005319, allocations: 0 / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.447e-06/0.005323, allocations: 4.375 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.764e-06/0.005324, allocations: 1.156 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.31e-06/0.00533, allocations: 1.562 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.175e-05/0.005411, allocations: 46 kB / 1.159 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.61e-06/0.005417, allocations: 0 / 1.159 GB, free: 22.18 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 4.619e-05/0.005463, allocations: 28.34 kB / 1.159 GB, free: 22.16 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000286/0.005749, allocations: 235.4 kB / 1.159 GB, free: 21.99 MB / 0.9044 GB Notification: Performance of Templates: time 0.002606/0.008355, allocations: 0.5704 MB / 1.16 GB, free: 21.89 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 7.457235369365662]