Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.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.Controls.OBC.CDL.Reals.Validation.Sort,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.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,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.Controls.OBC.CDL.Reals.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 111 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.001327/0.001327, allocations: 182 kB / 17.36 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.127/1.127, allocations: 222.9 MB / 241 MB, free: 15.16 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.2/2.2, allocations: 469.8 MB / 0.7432 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.068e-05, allocations: 6.219 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001333/0.001354, allocations: 0.8401 MB / 1.067 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.002374, allocations: 1.01 MB / 1.068 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.002431, allocations: 4 kB / 1.068 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.357e-05/0.002521, allocations: 23.8 kB / 1.068 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.002569, allocations: 15.81 kB / 1.068 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.002875, allocations: 95.73 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.003035, allocations: 143.6 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.003156, allocations: 33.11 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.003221, allocations: 59.81 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.003289, allocations: 59.75 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.003314, allocations: 8 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.003451, allocations: 91.86 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001207/0.003579, allocations: 174.1 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.422e-05/0.003629, allocations: 102.4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.003657, allocations: 19.94 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.617e-05/0.003677, allocations: 0 / 1.068 GB, free: 10.9 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.0004215/0.004103, allocations: 487.3 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.108e-05/0.004179, allocations: 39.92 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002131/0.004398, allocations: 252.1 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simplify1: time 6.609e-05/0.00447, allocations: 72.36 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of Alias: time 7.884e-05/0.004554, allocations: 73.67 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of simplify2: time 5.304e-05/0.004612, allocations: 72.38 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of Detect States: time 8.846e-05/0.004705, allocations: 70.66 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of Events: time 0.0001605/0.004871, allocations: 131.6 kB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000128/0.005006, allocations: 105.2 kB / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001087/0.006098, allocations: 0.998 MB / 1.071 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002543/0.006362, allocations: 312.1 kB / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003503/0.00672, allocations: 443.9 kB / 1.071 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.85e-05/0.006744, allocations: 12.12 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of Cleanup: time 5.878e-05/0.006807, allocations: 91.83 kB / 1.072 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001032/0.007844, allocations: 1.042 MB / 1.073 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of Tearing: time 8.907e-06/0.007862, allocations: 0 / 1.073 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of Initialization: time 3.21e-07/0.007867, allocations: 3.938 kB / 1.073 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of Tearing: time 3.146e-06/0.007874, allocations: 4 kB / 1.073 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of Categorize: time 6.141e-06/0.007883, allocations: 0 / 1.073 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001256/0.008012, allocations: 80.48 kB / 1.073 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.435e-06/0.008021, allocations: 0 / 1.073 GB, free: 6.336 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.507e-05/0.00806, allocations: 35.5 kB / 1.073 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008976/0.008962, allocations: 1.375 MB / 1.074 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of Templates: time 0.003524/0.0125, allocations: 1.668 MB / 1.076 GB, free: 3.227 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches