Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001177/0.001177, allocations: 111.4 kB / 16.42 MB, free: 6.523 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.001157/0.001157, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.445/2.445, allocations: 472.6 MB / 0.7459 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/1.991e-05, allocations: 2.281 kB / 1.07 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00233/0.002358, allocations: 1.544 MB / 1.072 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.003352, allocations: 0.5842 MB / 1.072 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.003424, allocations: 0 / 1.072 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.003543, allocations: 11.88 kB / 1.072 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.573e-05/0.003605, allocations: 23.8 kB / 1.072 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.004032, allocations: 87.77 kB / 1.072 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.004206, allocations: 119.5 kB / 1.072 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004322, allocations: 20.22 kB / 1.072 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.004436, allocations: 47.78 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.004567, allocations: 47.81 kB / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.004596, allocations: 8 kB / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.004731, allocations: 79.92 kB / 1.073 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001125/0.00485, allocations: 138.5 kB / 1.073 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.557e-05/0.004891, allocations: 82.77 kB / 1.073 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.004931, allocations: 16 kB / 1.073 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.678e-05/0.004953, allocations: 7.875 kB / 1.073 GB, free: 6.879 MB / 0.8419 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.0004844/0.005441, allocations: 471 kB / 1.073 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001056/0.005553, allocations: 64.89 kB / 1.073 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.00023/0.00579, allocations: 248.2 kB / 1.073 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of simplify1: time 2.92e-05/0.005828, allocations: 27.95 kB / 1.074 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of Alias: time 9.609e-05/0.005929, allocations: 93.73 kB / 1.074 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of simplify2: time 1.912e-05/0.005954, allocations: 19.97 kB / 1.074 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001523/0.006111, allocations: 119 kB / 1.074 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of Events: time 0.0001359/0.006255, allocations: 83.78 kB / 1.074 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001137/0.006376, allocations: 98.53 kB / 1.074 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006186/0.007001, allocations: 465.6 kB / 1.074 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002466/0.007257, allocations: 308.1 kB / 1.075 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003558/0.007619, allocations: 420.1 kB / 1.075 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.505e-05/0.007652, allocations: 24.11 kB / 1.075 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.293e-05/0.007681, allocations: 23.97 kB / 1.075 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000587/0.008272, allocations: 0.5409 MB / 1.076 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of Tearing: time 9.288e-06/0.00829, allocations: 0 / 1.076 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of Initialization: time 3.035e-06/0.008297, allocations: 4 kB / 1.076 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of Tearing: time 3.416e-06/0.008305, allocations: 7.938 kB / 1.076 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of Categorize: time 6.993e-06/0.008315, allocations: 0 / 1.076 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001091/0.008428, allocations: 63.88 kB / 1.076 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.444e-06/0.008437, allocations: 0 / 1.076 GB, free: 3.582 MB / 0.8419 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.838e-05/0.008479, allocations: 36.11 kB / 1.076 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0007501/0.009234, allocations: 1.058 MB / 1.077 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of Templates: time 0.003708/0.01295, allocations: 1.35 MB / 1.078 GB, free: 1.117 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches