Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 112.2 kB / 16.43 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 183.8 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.994/1.994, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.245e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.0021/0.00212, allocations: 1.55 MB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.003034, allocations: 0.5804 MB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.003098, allocations: 4 kB / 0.9535 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.003203, allocations: 11.86 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.003261, allocations: 19.8 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.003606, allocations: 95.75 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.003772, allocations: 107.7 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.003873, allocations: 16.23 kB / 0.9537 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.003975, allocations: 47.83 kB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.004053, allocations: 47.83 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.004078, allocations: 8 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.004197, allocations: 91.84 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.000101/0.004304, allocations: 134.6 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 4.041e-05/0.00435, allocations: 74.78 kB / 0.9541 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.004382, allocations: 15.94 kB / 0.9541 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.108e-05/0.004399, allocations: 3.938 kB / 0.9541 GB, free: 4.918 MB / 0.7325 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 Bindings: time 0.0004481/0.004851, allocations: 486.9 kB / 0.9546 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 9.325e-05/0.004949, allocations: 60.89 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002065/0.005162, allocations: 252.2 kB / 0.9549 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of simplify1: time 2.535e-05/0.005193, allocations: 19.97 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of Alias: time 9.197e-05/0.00529, allocations: 105.5 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of simplify2: time 2.001e-05/0.005315, allocations: 27.95 kB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001421/0.005461, allocations: 104.9 kB / 0.9552 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of Events: time 0.0001247/0.005595, allocations: 75.86 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001096/0.005712, allocations: 92.09 kB / 0.9553 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0005721/0.006292, allocations: 488 kB / 0.9558 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0002381/0.006539, allocations: 308.1 kB / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of Inline: time 0.0003462/0.006891, allocations: 420.1 kB / 0.9565 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.484e-05/0.006923, allocations: 24.11 kB / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of Cleanup: time 2.193e-05/0.00695, allocations: 19.97 kB / 0.9565 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0005684/0.007523, allocations: 0.5346 MB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of Tearing: time 1.009e-05/0.007542, allocations: 7.938 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of Initialization: time 3.41e-07/0.007547, allocations: 0 / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of Tearing: time 2.004e-06/0.007554, allocations: 4 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of Categorize: time 7.034e-06/0.007564, allocations: 3.984 kB / 0.9571 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of Solve: time 0.0001024/0.00767, allocations: 51.95 kB / 0.9571 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.485e-06/0.007682, allocations: 4 kB / 0.9571 GB, free: 1.617 MB / 0.7325 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (6) {$FUN_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 16 (scalar:15, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:1) * Number of for-loop strong components: ......... 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:17, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.175e-05/0.007718, allocations: 23.05 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0006686/0.008391, allocations: 1.062 MB / 0.9582 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of Templates: time 0.003188/0.01159, allocations: 1.358 MB / 0.9595 GB, free: 15.14 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches