Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001569/0.001569, 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.001884/0.001884, allocations: 212.3 kB / 23.06 MB, free: 4.98 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.401/1.401, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.085/3.085, allocations: 0.5108 GB / 0.8167 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.732e-05, allocations: 2.281 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002187/0.002204, allocations: 1.453 MB / 1.189 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.002917, allocations: 438.5 kB / 1.189 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.00295, allocations: 2.094 kB / 1.189 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.002977, allocations: 4.969 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.003045, allocations: 11.3 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.003181, allocations: 15.39 kB / 1.189 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.003292, allocations: 59.09 kB / 1.189 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.003378, allocations: 17.84 kB / 1.189 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.003435, allocations: 18.2 kB / 1.189 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.003489, allocations: 22.42 kB / 1.189 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.003508, allocations: 3.281 kB / 1.189 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.00352, allocations: 7.062 kB / 1.189 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8e-05/0.0036, allocations: 84.61 kB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.146e-05/0.003621, allocations: 51.83 kB / 1.189 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.003643, allocations: 3.375 kB / 1.189 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.613e-05/0.003659, allocations: 6.406 kB / 1.189 GB, free: 11.98 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.0003576/0.004017, allocations: 321.7 kB / 1.19 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.128e-05/0.004058, allocations: 31.86 kB / 1.19 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000112/0.00417, allocations: 142.1 kB / 1.19 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.748e-05/0.004238, allocations: 80.2 kB / 1.19 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002818/0.004519, allocations: 171.2 kB / 1.19 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.838e-05/0.004568, allocations: 76.16 kB / 1.19 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.035e-05/0.004598, allocations: 48.58 kB / 1.19 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001393/0.004737, allocations: 124.6 kB / 1.19 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.392e-05/0.004811, allocations: 30.36 kB / 1.19 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.512e-05/0.004906, allocations: 69.05 kB / 1.19 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000172/0.005078, allocations: 109.9 kB / 1.19 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.419e-05/0.005173, allocations: 119.4 kB / 1.19 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002262/0.005399, allocations: 162.8 kB / 1.191 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001262/0.005525, allocations: 157.6 kB / 1.191 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.18e-05/0.005537, allocations: 12.59 kB / 1.191 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.141e-05/0.005568, allocations: 35.38 kB / 1.191 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002349/0.005803, allocations: 166.6 kB / 1.191 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.101e-05/0.005814, allocations: 10.09 kB / 1.191 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.005815, allocations: 3.938 kB / 1.191 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.417e-05/0.005829, allocations: 11.73 kB / 1.191 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.627e-06/0.005832, allocations: 1.25 kB / 1.191 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.166e-06/0.005836, allocations: 6.344 kB / 1.191 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.23e-06/0.005841, allocations: 0.5625 kB / 1.191 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.616e-05/0.005927, allocations: 52.91 kB / 1.191 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.582e-06/0.005933, allocations: 0 / 1.191 GB, free: 10.34 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 5.298e-05/0.005986, allocations: 29.23 kB / 1.191 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0002791/0.006266, allocations: 211.3 kB / 1.191 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.002494/0.00876, allocations: 436.8 kB / 1.192 GB, free: 10.09 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.205304845003411]