Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.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.001477/0.001477, allocations: 108.3 kB / 19.72 MB, free: 2.137 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.001602/0.001602, allocations: 211.9 kB / 23.01 MB, free: 4.953 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.314/1.314, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.843/2.843, allocations: 0.49 GB / 0.7958 GB, free: 35.43 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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.463e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001903/0.001918, allocations: 1.547 MB / 1.156 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0008302/0.002748, allocations: 0.6075 MB / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.0028, allocations: 6.281 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 7.93e-05/0.002879, allocations: 6.703 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.002928, allocations: 21.45 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.003283, allocations: 111.9 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.003435, allocations: 125.7 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.003533, allocations: 16.25 kB / 1.157 GB, free: 23.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.003676, allocations: 61.62 kB / 1.157 GB, free: 23.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.003745, allocations: 52.44 kB / 1.157 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.003767, allocations: 7.094 kB / 1.157 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.003899, allocations: 95.53 kB / 1.158 GB, free: 23.57 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001168/0.004016, allocations: 165 kB / 1.158 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.359e-05/0.004049, allocations: 100.7 kB / 1.158 GB, free: 23.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.004072, allocations: 5.219 kB / 1.158 GB, free: 23.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.077e-05/0.004083, allocations: 5.125 kB / 1.158 GB, free: 23.4 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: 12 (10) * Number of variables: 12 (8) Notification: Performance of [SIM] Bindings: time 0.0004547/0.004537, allocations: 0.5221 MB / 1.158 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.726e-05/0.004625, allocations: 71.88 kB / 1.158 GB, free: 22.88 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002578/0.004882, allocations: 324.6 kB / 1.159 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001/0.004982, allocations: 122.3 kB / 1.159 GB, free: 22.58 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003452/0.005328, allocations: 271.6 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 9.49e-05/0.005423, allocations: 108.4 kB / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 5.18e-05/0.005474, allocations: 78.08 kB / 1.159 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000143/0.005617, allocations: 147.7 kB / 1.159 GB, free: 22.03 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001017/0.005719, allocations: 65.39 kB / 1.159 GB, free: 22 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001368/0.005856, allocations: 128.3 kB / 1.16 GB, free: 21.94 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003208/0.006177, allocations: 252.9 kB / 1.16 GB, free: 21.88 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001926/0.006369, allocations: 266.2 kB / 1.16 GB, free: 21.76 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002144/0.006584, allocations: 218.4 kB / 1.16 GB, free: 21.56 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000273/0.006857, allocations: 400.9 kB / 1.161 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.372e-05/0.00687, allocations: 12.5 kB / 1.161 GB, free: 21.35 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.618e-05/0.006916, allocations: 61.92 kB / 1.161 GB, free: 21.31 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003924/0.007309, allocations: 321.1 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.102e-05/0.00732, allocations: 6.688 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.00732, allocations: 0 / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.938e-06/0.007324, allocations: 1.219 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.767e-06/0.007328, allocations: 10.19 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.82e-06/0.007334, allocations: 1.719 kB / 1.161 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001857/0.00752, allocations: 138 kB / 1.161 GB, free: 21.18 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.921e-06/0.007526, allocations: 0 / 1.161 GB, free: 21.18 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: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (6) {$FUN_2, $SEV_2, $SEV_1, $SEV_0, $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: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:1) * 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: ........... 14 (scalar:14, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:1) * 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.735e-05/0.007553, allocations: 29.59 kB / 1.161 GB, free: 21.15 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006176/0.008171, allocations: 0.4901 MB / 1.162 GB, free: 20.87 MB / 0.9044 GB Notification: Performance of Templates: time 0.003875/0.01205, allocations: 1.489 MB / 1.163 GB, free: 20.72 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.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.401527417823672]