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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 105 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 192.3 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.361/2.361, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.834e-05, allocations: 2.281 kB / 1.055 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002191/0.002219, allocations: 1.437 MB / 1.056 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.002954, allocations: 438.9 kB / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.003005, allocations: 0 / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.003048, allocations: 7.922 kB / 1.056 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.003131, allocations: 7.922 kB / 1.056 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.003297, allocations: 19.92 kB / 1.056 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003443, allocations: 55.84 kB / 1.056 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.405e-05/0.003533, allocations: 8 kB / 1.057 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.003603, allocations: 27.86 kB / 1.057 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.003662, allocations: 19.91 kB / 1.057 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.003687, allocations: 4 kB / 1.057 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.003704, allocations: 4 kB / 1.057 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.656e-05/0.003785, allocations: 71.25 kB / 1.057 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.083e-05/0.003811, allocations: 43.31 kB / 1.057 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.003841, allocations: 8 kB / 1.057 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.976e-05/0.003865, allocations: 0 / 1.057 GB, free: 5.641 MB / 0.8262 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 Bindings: time 0.0003632/0.004232, allocations: 296.5 kB / 1.057 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 2.05e-05/0.004258, allocations: 11.95 kB / 1.057 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001275/0.00439, allocations: 132.3 kB / 1.057 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simplify1: time 1.648e-05/0.004412, allocations: 3.984 kB / 1.057 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002618/0.004679, allocations: 144.8 kB / 1.057 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simplify2: time 7.795e-06/0.004695, allocations: 3.984 kB / 1.057 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of Events: time 7.688e-05/0.004777, allocations: 35.86 kB / 1.057 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001331/0.004916, allocations: 80.16 kB / 1.057 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of Partitioning: time 8.12e-05/0.005007, allocations: 52.11 kB / 1.057 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001942/0.005207, allocations: 147.9 kB / 1.058 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001361/0.00535, allocations: 160.2 kB / 1.058 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002567/0.005613, allocations: 234.2 kB / 1.058 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.959e-05/0.005641, allocations: 20.05 kB / 1.058 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.993e-05/0.005666, allocations: 15.98 kB / 1.058 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002571/0.005927, allocations: 214.4 kB / 1.058 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of Tearing: time 8.306e-06/0.005944, allocations: 3.938 kB / 1.058 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of Initialization: time 2.004e-06/0.00595, allocations: 0 / 1.058 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of Tearing: time 1.794e-06/0.005957, allocations: 7.938 kB / 1.058 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of Categorize: time 6.302e-06/0.005968, allocations: 0 / 1.058 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of Solve: time 4.87e-05/0.00602, allocations: 19.98 kB / 1.058 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.554e-06/0.006028, allocations: 0 / 1.058 GB, free: 3.812 MB / 0.8262 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {del.y, del.sampleTrigger, del.ySample, booleanPulse.y, $SEV_0, $TEV_1, $TEV_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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.037e-05/0.006084, allocations: 24.8 kB / 1.058 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005432/0.006631, allocations: 0.837 MB / 1.059 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of Templates: time 0.002295/0.008935, allocations: 0.5008 MB / 1.06 GB, free: 2.434 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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