Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001309/0.001309, 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.0014/0.0014, allocations: 216.5 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.34/1.34, allocations: 230.7 MB / 256.9 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.895/2.895, allocations: 0.4893 GB / 0.7952 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.671e-05, allocations: 4.953 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001558/0.001575, allocations: 0.8073 MB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.002873, allocations: 1.308 MB / 1.156 GB, free: 24.13 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.002927, allocations: 3.188 kB / 1.156 GB, free: 24.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.002963, allocations: 10.45 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.12e-05/0.003045, allocations: 21.61 kB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.003759, allocations: 323.4 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.004031, allocations: 307 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004133, allocations: 34.75 kB / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.004245, allocations: 118.3 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.004383, allocations: 98.47 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.004439, allocations: 29.94 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.681e-05/0.004526, allocations: 39.52 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002377/0.004763, allocations: 335 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 5.923e-05/0.004823, allocations: 142.9 kB / 1.158 GB, free: 23.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.004879, allocations: 18.62 kB / 1.158 GB, free: 23.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.655e-05/0.004895, allocations: 2.5 kB / 1.158 GB, free: 23.4 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.0008189/0.005714, allocations: 0.9035 MB / 1.159 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.344e-05/0.005768, allocations: 54.42 kB / 1.159 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0008147/0.006583, allocations: 0.8482 MB / 1.16 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003372/0.00692, allocations: 332.5 kB / 1.16 GB, free: 22.1 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0008222/0.007742, allocations: 0.7464 MB / 1.161 GB, free: 21.57 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003019/0.008044, allocations: 329.9 kB / 1.161 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.000228/0.008272, allocations: 273 kB / 1.161 GB, free: 21.28 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000358/0.00863, allocations: 372.8 kB / 1.162 GB, free: 21.01 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.361e-05/0.008713, allocations: 63.88 kB / 1.162 GB, free: 20.97 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001268/0.00884, allocations: 96.59 kB / 1.162 GB, free: 20.93 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002723/0.009113, allocations: 185.2 kB / 1.162 GB, free: 20.88 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007045/0.009817, allocations: 0.5882 MB / 1.163 GB, free: 20.6 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0009028/0.01072, allocations: 0.5481 MB / 1.163 GB, free: 20.29 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000893/0.01161, allocations: 0.767 MB / 1.164 GB, free: 19.91 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.945e-05/0.01164, allocations: 18.83 kB / 1.164 GB, free: 19.89 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001633/0.01181, allocations: 128.8 kB / 1.164 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0006802/0.01249, allocations: 374.7 kB / 1.164 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.877e-05/0.0125, allocations: 11.78 kB / 1.164 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.3e-07/0.0125, allocations: 0 / 1.164 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.372e-05/0.01253, allocations: 19.97 kB / 1.164 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.921e-06/0.01253, allocations: 4 kB / 1.164 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.857e-06/0.01254, allocations: 3.375 kB / 1.164 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.078e-05/0.01255, allocations: 6.078 kB / 1.164 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001648/0.01271, allocations: 86.95 kB / 1.164 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 1.004e-05/0.01272, allocations: 4 kB / 1.164 GB, free: 19.66 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 6.143e-05/0.01279, allocations: 26.62 kB / 1.164 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001002/0.01379, allocations: 0.5081 MB / 1.165 GB, free: 19.39 MB / 0.9044 GB Notification: Performance of Templates: time 0.005954/0.01974, allocations: 2.794 MB / 1.168 GB, free: 19.03 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.646999577002134]