Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.00173/0.001729, allocations: 112 kB / 16.43 MB, free: 6.508 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.001762/0.001762, allocations: 183.2 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.096/1.096, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.097/2.097, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.423e-05, allocations: 2.281 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices): time 0.001398/0.001422, allocations: 0.8437 MB / 1.055 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.002453, allocations: 1.018 MB / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.002506, allocations: 0 / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.215e-05/0.002605, allocations: 15.86 kB / 1.056 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.002648, allocations: 15.8 kB / 1.056 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.002958, allocations: 99.77 kB / 1.057 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.003112, allocations: 139.6 kB / 1.057 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.003245, allocations: 61.03 kB / 1.057 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.003313, allocations: 51.83 kB / 1.057 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.003379, allocations: 59.75 kB / 1.057 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.003403, allocations: 12 kB / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.00353, allocations: 87.86 kB / 1.057 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001099/0.003646, allocations: 170.1 kB / 1.057 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 4.199e-05/0.003693, allocations: 102.4 kB / 1.057 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.003718, allocations: 15.94 kB / 1.057 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.129e-05/0.003744, allocations: 7.984 kB / 1.057 GB, free: 5.09 MB / 0.8262 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.0004586/0.004207, allocations: 0.5541 MB / 1.058 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.883e-05/0.004282, allocations: 43.86 kB / 1.058 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002581/0.004546, allocations: 332.1 kB / 1.058 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simplify1: time 3.005e-05/0.004582, allocations: 31.95 kB / 1.058 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of Alias: time 9.751e-05/0.004684, allocations: 113.7 kB / 1.058 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of simplify2: time 2.947e-05/0.004719, allocations: 31.94 kB / 1.058 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of Events: time 0.0001438/0.004867, allocations: 131.7 kB / 1.058 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001981/0.005071, allocations: 114.1 kB / 1.059 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001531/0.005232, allocations: 148.6 kB / 1.059 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of Causalize: time 0.001186/0.006424, allocations: 1.17 MB / 1.06 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0003149/0.006748, allocations: 412.1 kB / 1.06 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of Inline: time 0.0004304/0.007184, allocations: 0.5508 MB / 1.061 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.472e-05/0.007216, allocations: 32.09 kB / 1.061 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.696e-05/0.007247, allocations: 35.89 kB / 1.061 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of Causalize: time 0.001146/0.008398, allocations: 1.206 MB / 1.062 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of Tearing: time 7.113e-06/0.008415, allocations: 4 kB / 1.062 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of Initialization: time 1.603e-06/0.008421, allocations: 4 kB / 1.062 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of Tearing: time 4.138e-06/0.008429, allocations: 3.938 kB / 1.062 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of Categorize: time 6.542e-06/0.008439, allocations: 3.984 kB / 1.062 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001427/0.008585, allocations: 92.48 kB / 1.062 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.385e-06/0.008595, allocations: 4 kB / 1.062 GB, free: 15.83 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 3.189e-05/0.008631, allocations: 32.31 kB / 1.062 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008797/0.009515, allocations: 1.385 MB / 1.063 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.003444/0.01297, allocations: 1.661 MB / 1.065 GB, free: 12.73 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_SortWithIndices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.SortWithIndices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches