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.001147/0.001147, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001221/0.001221, allocations: 212.5 kB / 23 MB, free: 4.961 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.268/1.268, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.798/2.798, allocations: 0.49 GB / 0.7958 GB, free: 35.45 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.754e-05/1.754e-05, allocations: 4.391 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001512/0.001529, allocations: 0.8055 MB / 1.156 GB, free: 24.78 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.002715, allocations: 1.298 MB / 1.157 GB, free: 23.85 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.002771, allocations: 2 kB / 1.157 GB, free: 23.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.002802, allocations: 9.234 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.002884, allocations: 25.75 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.003551, allocations: 321.8 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.003803, allocations: 314 kB / 1.158 GB, free: 23.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.003897, allocations: 39.61 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.004002, allocations: 113.7 kB / 1.158 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.004127, allocations: 112.7 kB / 1.158 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.56e-05/0.004173, allocations: 24.12 kB / 1.158 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.004254, allocations: 38.84 kB / 1.158 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002165/0.00447, allocations: 335.4 kB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 5.262e-05/0.004523, allocations: 142.6 kB / 1.158 GB, free: 23.1 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.004569, allocations: 19.09 kB / 1.159 GB, free: 23.1 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.542e-05/0.004584, allocations: 11.36 kB / 1.159 GB, free: 23.09 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.0007391/0.005323, allocations: 0.8911 MB / 1.159 GB, free: 22.44 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.45e-05/0.005368, allocations: 58.72 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007176/0.006085, allocations: 0.8304 MB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003287/0.006414, allocations: 365.9 kB / 1.161 GB, free: 21.77 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.00078/0.007194, allocations: 0.7422 MB / 1.161 GB, free: 21.24 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003024/0.007496, allocations: 348.1 kB / 1.162 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002308/0.007727, allocations: 290.6 kB / 1.162 GB, free: 20.91 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003621/0.008089, allocations: 377.5 kB / 1.162 GB, free: 20.64 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.618e-05/0.008166, allocations: 59.06 kB / 1.162 GB, free: 20.61 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001202/0.008286, allocations: 96.55 kB / 1.162 GB, free: 20.56 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002545/0.00854, allocations: 187.4 kB / 1.163 GB, free: 20.51 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004832/0.009023, allocations: 0.5928 MB / 1.163 GB, free: 20.23 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006268/0.00965, allocations: 0.5686 MB / 1.164 GB, free: 19.91 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006049/0.01026, allocations: 0.7706 MB / 1.165 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.777e-05/0.01027, allocations: 17.56 kB / 1.165 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001059/0.01038, allocations: 133.8 kB / 1.165 GB, free: 19.43 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004842/0.01086, allocations: 370.6 kB / 1.165 GB, free: 19.35 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.164e-05/0.01087, allocations: 14.91 kB / 1.165 GB, free: 19.34 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.01088, allocations: 5.562 kB / 1.165 GB, free: 19.33 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.607e-06/0.01088, allocations: 0 / 1.165 GB, free: 19.33 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.286e-06/0.01088, allocations: 7.125 kB / 1.165 GB, free: 19.33 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.919e-06/0.01089, allocations: 0.75 kB / 1.165 GB, free: 19.33 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001211/0.01101, allocations: 91.12 kB / 1.165 GB, free: 19.29 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.823e-06/0.01101, allocations: 5.125 kB / 1.165 GB, free: 19.29 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 7.73e-05/0.01109, allocations: 24.5 kB / 1.165 GB, free: 19.27 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006616/0.01175, allocations: 0.5243 MB / 1.166 GB, free: 19.01 MB / 0.9044 GB Notification: Performance of Templates: time 0.005597/0.01735, allocations: 2.984 MB / 1.169 GB, free: 18.63 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 7.221824262756854]