Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001414/0.001414, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001462/0.001462, allocations: 211.4 kB / 23.01 MB, free: 4.93 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.28/1.28, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] 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.794/2.794, allocations: 0.49 GB / 0.7958 GB, free: 35.48 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.345e-05, allocations: 6.219 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00126/0.001273, allocations: 0.6928 MB / 1.156 GB, free: 24.78 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.002377, allocations: 1.281 MB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.002415, allocations: 1.938 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.00244, allocations: 5.156 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/0.002499, allocations: 20.31 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.003108, allocations: 305.9 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.003331, allocations: 265.6 kB / 1.158 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.003406, allocations: 14.48 kB / 1.158 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.003504, allocations: 104 kB / 1.158 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.003617, allocations: 93.98 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.003656, allocations: 21.97 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.003722, allocations: 34.78 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001708/0.003893, allocations: 245.3 kB / 1.158 GB, free: 23.35 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.965e-05/0.003922, allocations: 81.41 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.003964, allocations: 16.44 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.063e-05/0.003975, allocations: 5.219 kB / 1.158 GB, free: 23.29 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.0006016/0.004576, allocations: 0.7239 MB / 1.159 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.557e-05/0.004612, allocations: 38.38 kB / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006219/0.005234, allocations: 0.7344 MB / 1.16 GB, free: 22.33 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002978/0.005532, allocations: 339.2 kB / 1.16 GB, free: 22.16 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005061/0.006038, allocations: 0.4935 MB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002786/0.006316, allocations: 354.4 kB / 1.161 GB, free: 21.61 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002076/0.006524, allocations: 276.7 kB / 1.161 GB, free: 21.47 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003095/0.006833, allocations: 359.7 kB / 1.161 GB, free: 21.21 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.001e-05/0.006903, allocations: 63.17 kB / 1.161 GB, free: 21.17 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.743e-05/0.006991, allocations: 72.61 kB / 1.161 GB, free: 21.13 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000179/0.00717, allocations: 139.7 kB / 1.162 GB, free: 21.09 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000398/0.007568, allocations: 0.5437 MB / 1.162 GB, free: 20.84 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005197/0.008088, allocations: 0.5312 MB / 1.163 GB, free: 20.52 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005174/0.008605, allocations: 0.6752 MB / 1.163 GB, free: 20.19 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.356e-05/0.008619, allocations: 13.17 kB / 1.163 GB, free: 20.18 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 9.991e-05/0.008718, allocations: 116.8 kB / 1.163 GB, free: 20.11 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003881/0.009107, allocations: 287.2 kB / 1.164 GB, free: 20.04 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.195e-05/0.009118, allocations: 9.938 kB / 1.164 GB, free: 20.03 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.82e-07/0.009119, allocations: 1.312 kB / 1.164 GB, free: 20.03 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.096e-06/0.009123, allocations: 0 / 1.164 GB, free: 20.03 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.645e-06/0.009125, allocations: 2.219 kB / 1.164 GB, free: 20.03 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.821e-06/0.009131, allocations: 4.75 kB / 1.164 GB, free: 20.03 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.273e-05/0.009214, allocations: 48.66 kB / 1.164 GB, free: 20.01 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.45e-06/0.009219, allocations: 0.5938 kB / 1.164 GB, free: 20.01 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 2.765e-05/0.009247, allocations: 28.53 kB / 1.164 GB, free: 19.99 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004901/0.009737, allocations: 429.7 kB / 1.164 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.004872/0.01461, allocations: 2.797 MB / 1.167 GB, free: 19.44 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.255677853245288]