Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001547/0.001547, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.00164/0.00164, allocations: 216.3 kB / 23.07 MB, free: 4.844 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.379/1.379, allocations: 230.6 MB / 256.9 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.128/3.128, allocations: 0.5108 GB / 0.8167 GB, free: 17.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.795e-05, allocations: 2.281 kB / 1.187 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001414/0.001432, allocations: 0.6773 MB / 1.188 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.002685, allocations: 1.289 MB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.002728, allocations: 1.438 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.002758, allocations: 4.734 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.002823, allocations: 24.94 kB / 1.189 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.003507, allocations: 305.3 kB / 1.189 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.003774, allocations: 272.6 kB / 1.19 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.00386, allocations: 7.875 kB / 1.19 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.003972, allocations: 102.8 kB / 1.19 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.004106, allocations: 82.56 kB / 1.19 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.004151, allocations: 22.81 kB / 1.19 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.896e-05/0.00423, allocations: 31.55 kB / 1.19 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001892/0.004419, allocations: 247.9 kB / 1.19 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.417e-05/0.004453, allocations: 76.88 kB / 1.19 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.004498, allocations: 21.03 kB / 1.19 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.177e-05/0.00451, allocations: 5.062 kB / 1.19 GB, free: 11.5 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.0006797/0.00519, allocations: 0.7348 MB / 1.191 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.769e-05/0.005227, allocations: 34.25 kB / 1.191 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007137/0.005941, allocations: 0.7422 MB / 1.192 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000343/0.006284, allocations: 316.9 kB / 1.192 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0006448/0.006929, allocations: 0.4956 MB / 1.192 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003122/0.007241, allocations: 327.6 kB / 1.193 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002535/0.007495, allocations: 269.2 kB / 1.193 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003817/0.007876, allocations: 359.6 kB / 1.193 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.752e-05/0.007954, allocations: 50.58 kB / 1.193 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001032/0.008057, allocations: 80.73 kB / 1.194 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001928/0.00825, allocations: 135.1 kB / 1.194 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004507/0.008701, allocations: 0.5401 MB / 1.194 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005656/0.009266, allocations: 0.5005 MB / 1.195 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005621/0.009828, allocations: 0.6781 MB / 1.195 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.628e-05/0.009844, allocations: 13.36 kB / 1.195 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001262/0.009971, allocations: 120.9 kB / 1.195 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.000432/0.0104, allocations: 289 kB / 1.196 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.123e-05/0.01041, allocations: 6.188 kB / 1.196 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.042e-06/0.01041, allocations: 1.094 kB / 1.196 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.854e-05/0.01043, allocations: 11.05 kB / 1.196 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.199e-06/0.01044, allocations: 1.25 kB / 1.196 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.039e-06/0.01044, allocations: 10.16 kB / 1.196 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.613e-06/0.01045, allocations: 1.062 kB / 1.196 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 9.647e-05/0.01055, allocations: 53.12 kB / 1.196 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.694e-06/0.01055, allocations: 0 / 1.196 GB, free: 8.27 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.258e-05/0.0106, allocations: 30.77 kB / 1.196 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006943/0.01129, allocations: 423.8 kB / 1.196 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of Templates: time 0.006182/0.01747, allocations: 2.638 MB / 1.199 GB, free: 7.711 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.0598990850267]