Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001526/0.001526, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001664/0.001664, allocations: 221.7 kB / 23.07 MB, free: 4.977 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.423/1.423, allocations: 230.7 MB / 256.9 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.623/2.623, allocations: 476 MB / 0.7708 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.009e-05, allocations: 2.281 kB / 1.118 GB, free: 41.29 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002436/0.002457, allocations: 1.444 MB / 1.119 GB, free: 41.23 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007741/0.003231, allocations: 446.8 kB / 1.12 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.003271, allocations: 0 / 1.12 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.003296, allocations: 6.734 kB / 1.12 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.255e-05/0.003379, allocations: 10.2 kB / 1.12 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.003534, allocations: 18.84 kB / 1.12 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.003658, allocations: 59.36 kB / 1.12 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.00375, allocations: 8.531 kB / 1.12 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.00381, allocations: 18.98 kB / 1.12 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.003873, allocations: 24.97 kB / 1.12 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.003892, allocations: 5.312 kB / 1.12 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.003904, allocations: 2.344 kB / 1.12 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of combineBinaries: time 9.45e-05/0.003999, allocations: 82.53 kB / 1.12 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.408e-05/0.004023, allocations: 52.34 kB / 1.12 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.004048, allocations: 3.562 kB / 1.12 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.784e-05/0.004066, allocations: 5.938 kB / 1.12 GB, free: 41.1 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.0004042/0.004471, allocations: 341.9 kB / 1.12 GB, free: 40.8 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.493e-05/0.004515, allocations: 35.2 kB / 1.12 GB, free: 40.77 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 9.648e-05/0.004612, allocations: 133 kB / 1.12 GB, free: 40.71 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.34e-05/0.004675, allocations: 76.83 kB / 1.121 GB, free: 40.62 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000293/0.004968, allocations: 182.3 kB / 1.121 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.284e-05/0.005011, allocations: 72.75 kB / 1.121 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.195e-05/0.005043, allocations: 53.27 kB / 1.121 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001413/0.005184, allocations: 116.9 kB / 1.121 GB, free: 40.21 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.302e-05/0.005267, allocations: 32.17 kB / 1.121 GB, free: 40.21 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.847e-05/0.005366, allocations: 70.48 kB / 1.121 GB, free: 40.19 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001643/0.00553, allocations: 102.2 kB / 1.121 GB, free: 40.17 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.328e-05/0.005604, allocations: 122.3 kB / 1.121 GB, free: 40.16 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002162/0.00582, allocations: 162.4 kB / 1.121 GB, free: 40.01 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 9.979e-05/0.00592, allocations: 156.4 kB / 1.122 GB, free: 40 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.163e-05/0.005931, allocations: 10.97 kB / 1.122 GB, free: 39.98 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.168e-05/0.005963, allocations: 40.45 kB / 1.122 GB, free: 39.98 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002075/0.00617, allocations: 167.4 kB / 1.122 GB, free: 39.95 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.457e-06/0.00618, allocations: 6.156 kB / 1.122 GB, free: 39.95 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.7e-07/0.00618, allocations: 1.156 kB / 1.122 GB, free: 39.95 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.408e-05/0.006194, allocations: 15.06 kB / 1.122 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.606e-06/0.006198, allocations: 0.7812 kB / 1.122 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.194e-06/0.0062, allocations: 6.906 kB / 1.122 GB, free: 39.92 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.094e-06/0.006207, allocations: 4.719 kB / 1.122 GB, free: 39.92 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.499e-05/0.006292, allocations: 46.59 kB / 1.122 GB, free: 39.92 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.237e-06/0.006301, allocations: 1.438 kB / 1.122 GB, free: 39.92 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 7.634e-05/0.006378, allocations: 17.31 kB / 1.122 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003148/0.006692, allocations: 216.2 kB / 1.122 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.002543/0.009235, allocations: 432.5 kB / 1.123 GB, free: 39.77 MB / 0.9044 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.142401979013812]