Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.001285/0.001285, 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.001428/0.001428, allocations: 219 kB / 23.07 MB, free: 4.977 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.421/1.421, allocations: 230.6 MB / 256.9 MB, free: 7.77 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.674/2.674, allocations: 476 MB / 0.7708 GB, free: 4.629 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.435e-05, allocations: 2.938 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00174/0.001764, allocations: 0.6805 MB / 1.119 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.003485, allocations: 1.285 MB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.00354, allocations: 0 / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.003577, allocations: 10.06 kB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.003657, allocations: 20.95 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.004476, allocations: 308.5 kB / 1.12 GB, free: 40.88 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.004759, allocations: 264.5 kB / 1.12 GB, free: 40.87 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.00487, allocations: 11.91 kB / 1.12 GB, free: 40.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.004992, allocations: 111.8 kB / 1.121 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.005116, allocations: 80.33 kB / 1.121 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.005162, allocations: 22.44 kB / 1.121 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.005248, allocations: 33.7 kB / 1.121 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001794/0.005427, allocations: 250.2 kB / 1.121 GB, free: 40.82 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.257e-05/0.005459, allocations: 80.62 kB / 1.121 GB, free: 40.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.005507, allocations: 17.16 kB / 1.121 GB, free: 40.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.679e-05/0.005523, allocations: 2 kB / 1.121 GB, free: 40.77 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 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0007307/0.006254, allocations: 0.7253 MB / 1.122 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.743e-05/0.006291, allocations: 37.61 kB / 1.122 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006854/0.006977, allocations: 0.743 MB / 1.122 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002827/0.00726, allocations: 315.8 kB / 1.123 GB, free: 40.23 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005755/0.007835, allocations: 0.5072 MB / 1.123 GB, free: 39.95 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002725/0.008108, allocations: 314.7 kB / 1.124 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002167/0.008324, allocations: 267 kB / 1.124 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003468/0.008671, allocations: 362.3 kB / 1.124 GB, free: 39.45 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.296e-05/0.008764, allocations: 61.19 kB / 1.124 GB, free: 39.43 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.659e-05/0.008861, allocations: 72.45 kB / 1.124 GB, free: 39.39 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001868/0.009047, allocations: 137.8 kB / 1.124 GB, free: 39.35 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003821/0.00943, allocations: 0.546 MB / 1.125 GB, free: 39.11 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005345/0.009964, allocations: 0.4999 MB / 1.125 GB, free: 38.86 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0004931/0.01046, allocations: 0.6783 MB / 1.126 GB, free: 38.54 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.394e-05/0.01047, allocations: 11.88 kB / 1.126 GB, free: 38.53 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 9.429e-05/0.01057, allocations: 113.9 kB / 1.126 GB, free: 38.47 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003706/0.01094, allocations: 280.8 kB / 1.127 GB, free: 38.41 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.145e-05/0.01095, allocations: 3.219 kB / 1.127 GB, free: 38.41 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4e-07/0.01095, allocations: 0 / 1.127 GB, free: 38.41 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.968e-05/0.01097, allocations: 28.25 kB / 1.127 GB, free: 38.38 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.03e-06/0.01097, allocations: 0.9375 kB / 1.127 GB, free: 38.38 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.918e-06/0.01098, allocations: 6.906 kB / 1.127 GB, free: 38.38 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.472e-06/0.01098, allocations: 4.094 kB / 1.127 GB, free: 38.38 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.903e-05/0.01107, allocations: 52.62 kB / 1.127 GB, free: 38.36 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.055e-06/0.01108, allocations: 0 / 1.127 GB, free: 38.36 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: ................. 7 (7) {logicalSwitch.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: ........... 7 (scalar:7, 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: ........... 10 (scalar:10, 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.238e-05/0.01112, allocations: 17.91 kB / 1.127 GB, free: 38.36 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006091/0.01173, allocations: 432.1 kB / 1.127 GB, free: 38.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.005008/0.01674, allocations: 2.634 MB / 1.13 GB, free: 37.96 MB / 0.9044 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,logicalSwitch.u1,logicalSwitch.u2,logicalSwitch.u3,logicalSwitch.y Variables in the result:booPul1.period,booPul1.shift,booPul1.t0,booPul1.t1,booPul1.width,booPul1.y,booPul2.period,booPul2.shift,booPul2.t0,booPul2.t1,booPul2.width,booPul2.y,booPul3.period,booPul3.shift,booPul3.t0,booPul3.t1,booPul3.width,booPul3.y,logicalSwitch.u1,logicalSwitch.u2,logicalSwitch.u3,logicalSwitch.y,time [Calling sys.exit(0), Time elapsed: 8.231398842995986]