Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001131/0.001131, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.001139/0.001139, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.208/1.208, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2/2, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.3e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001976/0.001996, allocations: 1.429 MB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006292/0.002636, allocations: 439 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.002683, allocations: 0 / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.002712, allocations: 3.938 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.686e-05/0.002794, allocations: 7.938 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.002939, allocations: 23.92 kB / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.00306, allocations: 51.84 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.003141, allocations: 15.97 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.003202, allocations: 27.81 kB / 0.9534 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.003264, allocations: 23.91 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.003285, allocations: 0 / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.003299, allocations: 4 kB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of combineBinaries: time 7.716e-05/0.003381, allocations: 67.27 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.019e-05/0.003406, allocations: 39.38 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.003432, allocations: 11.94 kB / 0.9535 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.586e-05/0.003453, allocations: 4 kB / 0.9535 GB, free: 5.617 MB / 0.7325 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.0003326/0.003789, allocations: 296.5 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 2.076e-05/0.003816, allocations: 11.94 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001111/0.003931, allocations: 128.3 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of simplify1: time 1.116e-05/0.003949, allocations: 4 kB / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of Alias: time 0.0002451/0.004199, allocations: 152.8 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of simplify2: time 4.609e-06/0.004212, allocations: 0 / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001258/0.004342, allocations: 80.05 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of Events: time 7.687e-05/0.004427, allocations: 39.84 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of Partitioning: time 6.376e-05/0.004497, allocations: 48.09 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001915/0.004694, allocations: 148 kB / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001175/0.004819, allocations: 148.9 kB / 0.9545 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of Inline: time 0.0002439/0.005069, allocations: 236.2 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.776e-05/0.005096, allocations: 20.06 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.688e-05/0.005118, allocations: 15.98 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002496/0.005372, allocations: 215.8 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of Tearing: time 7.394e-06/0.005387, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of Initialization: time 4.11e-07/0.005392, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of Tearing: time 2.415e-06/0.005398, allocations: 4 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of Categorize: time 8.155e-06/0.00541, allocations: 3.938 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of Solve: time 4.491e-05/0.005458, allocations: 31.91 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of Jacobian: time 4.198e-06/0.005468, allocations: 3.984 kB / 0.955 GB, free: 3.785 MB / 0.7325 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 2.783e-05/0.005499, allocations: 14.48 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0004479/0.005952, allocations: 0.8293 MB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of Templates: time 0.002091/0.008052, allocations: 0.5005 MB / 0.9563 GB, free: 2.426 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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