Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Templates.Plants.Controls.Utilities.Validation.SortWithIndices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|sorAsc.yIdx.1.|sorAsc.yIdx.2.|sorAsc.yIdx.3.|sorAsc.yIdx.4.|sorAsc.yIdx.5.|sorDes.yIdx.1.|sorDes.yIdx.2.|sorDes.yIdx.3.|sorDes.yIdx.4.|sorDes.yIdx.5.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|sorAsc.yIdx.1.|sorAsc.yIdx.2.|sorAsc.yIdx.3.|sorAsc.yIdx.4.|sorAsc.yIdx.5.|sorDes.yIdx.1.|sorDes.yIdx.2.|sorDes.yIdx.3.|sorDes.yIdx.4.|sorDes.yIdx.5.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 107 kB / 16.41 MB, free: 6.359 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.001082/0.001082, allocations: 184.8 kB / 17.35 MB, free: 5.809 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.135/1.135, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.225/2.225, allocations: 469.8 MB / 0.7431 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053e-05/1.055e-05, allocations: 2.281 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.001367/0.001387, allocations: 0.8468 MB / 1.067 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.002419, allocations: 1.006 MB / 1.068 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.002476, allocations: 4 kB / 1.068 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.539e-05/0.002567, allocations: 11.88 kB / 1.068 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.002612, allocations: 27.72 kB / 1.068 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.002918, allocations: 87.83 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.00308, allocations: 151.6 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.003202, allocations: 33.11 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.003268, allocations: 47.84 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.003331, allocations: 59.75 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.003356, allocations: 12 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.003484, allocations: 99.83 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001144/0.003607, allocations: 166.1 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.354e-05/0.003656, allocations: 102.4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.003682, allocations: 15.94 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.784e-05/0.003704, allocations: 4 kB / 1.068 GB, free: 10.93 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: 35 (17) * Number of variables: 35 (11) Notification: Performance of Bindings: time 0.0004281/0.004137, allocations: 483.3 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.309e-05/0.004216, allocations: 43.84 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002129/0.004435, allocations: 256.1 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simplify1: time 5.939e-05/0.0045, allocations: 68.36 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of Alias: time 8.27e-05/0.004588, allocations: 77.67 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of simplify2: time 4.761e-05/0.004642, allocations: 64.39 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of Detect States: time 8.22e-05/0.00473, allocations: 88.05 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of Events: time 0.0001471/0.004883, allocations: 123.6 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001235/0.005013, allocations: 109.1 kB / 1.07 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001073/0.006092, allocations: 0.9902 MB / 1.071 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002595/0.00636, allocations: 324 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003691/0.006736, allocations: 432 kB / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.392e-05/0.006765, allocations: 16.12 kB / 1.071 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of Cleanup: time 7.21e-05/0.006842, allocations: 95.81 kB / 1.071 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001153/0.007999, allocations: 1.034 MB / 1.072 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of Tearing: time 1.653e-05/0.008026, allocations: 3.984 kB / 1.072 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of Initialization: time 2.9e-07/0.00803, allocations: 3.938 kB / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of Tearing: time 3.416e-06/0.008038, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of Categorize: time 7.735e-06/0.008049, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001508/0.008204, allocations: 88.48 kB / 1.073 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.015e-06/0.008213, allocations: 0 / 1.073 GB, free: 6.344 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 30 (14) {sorAsc.yIdx, sorDes.yIdx, $FUN_2, $FUN_4, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 29 (scalar:25, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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: ........... 29 (scalar:25, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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 4.196e-05/0.008259, allocations: 30.3 kB / 1.073 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001062/0.009327, allocations: 1.372 MB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of Templates: time 0.003711/0.01305, allocations: 1.664 MB / 1.076 GB, free: 3.246 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_SortWithIndices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches