Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.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.001767/0.001767, allocations: 100.4 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.002273/0.002273, allocations: 209 kB / 23.06 MB, free: 4.988 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.414/1.414, allocations: 230.6 MB / 256.9 MB, free: 7.727 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.677/2.677, allocations: 476 MB / 0.7708 GB, free: 4.648 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.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.166e-05, allocations: 3.703 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001788/0.00181, allocations: 0.8039 MB / 1.119 GB, free: 41 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.00325, allocations: 1.301 MB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.00331, allocations: 4.438 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.003348, allocations: 15.33 kB / 1.12 GB, free: 40.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.003425, allocations: 23.8 kB / 1.12 GB, free: 40.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007443/0.004169, allocations: 324.8 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.004449, allocations: 302.4 kB / 1.121 GB, free: 40.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.00456, allocations: 29.23 kB / 1.121 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.004666, allocations: 120.1 kB / 1.121 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.004782, allocations: 95.62 kB / 1.121 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.00483, allocations: 25.66 kB / 1.121 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.00491, allocations: 45.33 kB / 1.121 GB, free: 40.82 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001943/0.005105, allocations: 338.3 kB / 1.121 GB, free: 40.71 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.823e-05/0.005153, allocations: 136.1 kB / 1.121 GB, free: 40.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.0052, allocations: 20.34 kB / 1.121 GB, free: 40.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.215e-05/0.005222, allocations: 8.906 kB / 1.121 GB, free: 40.62 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: 19 (19) * Number of variables: 19 (19) Notification: Performance of [SIM] Bindings: time 0.0007524/0.005974, allocations: 0.8952 MB / 1.122 GB, free: 40.21 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.506e-05/0.006019, allocations: 61.47 kB / 1.122 GB, free: 40.18 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007272/0.006746, allocations: 0.8425 MB / 1.123 GB, free: 40.05 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003012/0.007048, allocations: 342.7 kB / 1.123 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0007855/0.007833, allocations: 0.75 MB / 1.124 GB, free: 39.41 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002731/0.008106, allocations: 323.8 kB / 1.125 GB, free: 39.27 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002163/0.008323, allocations: 271.2 kB / 1.125 GB, free: 39.14 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003577/0.00868, allocations: 386.4 kB / 1.125 GB, free: 38.88 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.211e-05/0.008762, allocations: 49.7 kB / 1.125 GB, free: 38.87 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000113/0.008875, allocations: 97.45 kB / 1.125 GB, free: 38.82 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000239/0.009114, allocations: 187.6 kB / 1.125 GB, free: 38.77 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004076/0.009522, allocations: 0.588 MB / 1.126 GB, free: 38.51 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005378/0.01006, allocations: 0.5449 MB / 1.127 GB, free: 38.24 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005541/0.01061, allocations: 0.7654 MB / 1.127 GB, free: 37.88 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.979e-05/0.01063, allocations: 22.45 kB / 1.127 GB, free: 37.86 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001024/0.01074, allocations: 131.2 kB / 1.127 GB, free: 37.79 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004741/0.01121, allocations: 374.3 kB / 1.128 GB, free: 37.71 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.321e-05/0.01122, allocations: 11.75 kB / 1.128 GB, free: 37.71 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.182e-06/0.01122, allocations: 1.594 kB / 1.128 GB, free: 37.71 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.698e-05/0.01124, allocations: 20.16 kB / 1.128 GB, free: 37.69 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.198e-06/0.01125, allocations: 0 / 1.128 GB, free: 37.69 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.677e-06/0.01125, allocations: 6.5 kB / 1.128 GB, free: 37.68 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.921e-06/0.01126, allocations: 3.844 kB / 1.128 GB, free: 37.68 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001162/0.01137, allocations: 80.45 kB / 1.128 GB, free: 37.66 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.216e-06/0.01138, allocations: 4 kB / 1.128 GB, free: 37.65 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: .................... 3 (3) {booPul3.y, booPul2.y, booPul1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (11) {integerSwitch.y, booToInt.y, proInt.y, booToInt1.y, proInt1.y, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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.419e-05/0.01142, allocations: 26.94 kB / 1.128 GB, free: 37.65 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00065/0.01207, allocations: 0.5213 MB / 1.128 GB, free: 37.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.004923/0.017, allocations: 2.794 MB / 1.131 GB, free: 37.17 MB / 0.9044 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,integerSwitch.u1,integerSwitch.u2,integerSwitch.u3,integerSwitch.y Variables in the result:booPul1.period,booPul1.shift,booPul1.t0,booPul1.t1,booPul1.width,booPul2.period,booPul2.shift,booPul2.t0,booPul2.t1,booPul2.width,booPul2.y,booPul3.period,booPul3.shift,booPul3.t0,booPul3.t1,booPul3.width,booToInt.integerFalse,booToInt.integerTrue,booToInt1.integerFalse,booToInt1.integerTrue,conInt.k,conInt.y,conInt1.k,conInt1.y,integerSwitch.u1,integerSwitch.u2,integerSwitch.u3,integerSwitch.y,proInt.u1,proInt.y,proInt1.u1,proInt1.y,time [Calling sys.exit(0), Time elapsed: 8.199252397986129]