Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001405/0.001405, 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.00155/0.00155, allocations: 211.1 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.857/2.857, allocations: 0.49 GB / 0.7958 GB, free: 35.42 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|switch1.u1|switch1.u2|switch1.u3|switch1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.639e-05, allocations: 2.281 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001395/0.001411, allocations: 0.774 MB / 1.156 GB, free: 24.75 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.0025, allocations: 1.167 MB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.002547, allocations: 1.125 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.002573, allocations: 5.578 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.002641, allocations: 20.2 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.003033, allocations: 129.8 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.00319, allocations: 133.1 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.003267, allocations: 19.72 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.003338, allocations: 50.5 kB / 1.157 GB, free: 23.74 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.003413, allocations: 51.98 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.003439, allocations: 11.16 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.003499, allocations: 35.09 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001089/0.003607, allocations: 152.8 kB / 1.158 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.68e-05/0.003634, allocations: 73.47 kB / 1.158 GB, free: 23.56 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.003662, allocations: 7.469 kB / 1.158 GB, free: 23.56 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.839e-06/0.003672, allocations: 1.344 kB / 1.158 GB, free: 23.56 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.0004347/0.004107, allocations: 0.5169 MB / 1.158 GB, free: 23.1 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.199e-05/0.004149, allocations: 49.78 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003406/0.004489, allocations: 386.5 kB / 1.159 GB, free: 22.84 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001566/0.004646, allocations: 178.6 kB / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004032/0.005049, allocations: 336.3 kB / 1.159 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001483/0.005198, allocations: 181.6 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.258e-05/0.00529, allocations: 123.6 kB / 1.159 GB, free: 22.21 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001922/0.005482, allocations: 191.9 kB / 1.159 GB, free: 22.04 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.98e-05/0.005572, allocations: 61.3 kB / 1.16 GB, free: 22 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.936e-05/0.005671, allocations: 97.27 kB / 1.16 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001881/0.00586, allocations: 141.3 kB / 1.16 GB, free: 21.9 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002206/0.00608, allocations: 304.5 kB / 1.16 GB, free: 21.77 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003057/0.006386, allocations: 290.6 kB / 1.16 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003167/0.006703, allocations: 423.2 kB / 1.161 GB, free: 21.33 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.035e-05/0.006713, allocations: 10.66 kB / 1.161 GB, free: 21.32 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.071e-05/0.006764, allocations: 63.53 kB / 1.161 GB, free: 21.28 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002907/0.007054, allocations: 199.5 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.011e-05/0.007064, allocations: 6.094 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.007065, allocations: 4.938 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.208e-06/0.007069, allocations: 8 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.144e-06/0.007071, allocations: 2.062 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.12e-06/0.007076, allocations: 1.031 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001259/0.007202, allocations: 87.81 kB / 1.161 GB, free: 21.19 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.783e-06/0.007209, allocations: 0 / 1.161 GB, free: 21.19 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: .................... 1 (1) {booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$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: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ............ 1 (algorithm:1, 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 3.354e-05/0.007242, allocations: 28.27 kB / 1.161 GB, free: 21.17 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004642/0.007707, allocations: 340.5 kB / 1.161 GB, free: 20.97 MB / 0.9044 GB Notification: Performance of Templates: time 0.003784/0.01149, allocations: 1.433 MB / 1.163 GB, free: 20.79 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Switch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.427645552903414]