Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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.",fileNamePrefix="Buildings_latest_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.",fileNamePrefix="Buildings_latest_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.001113/0.001117, allocations: 105.8 kB / 16.42 MB, free: 6.516 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.001089/0.001089, allocations: 188.3 kB / 17.36 MB, free: 5.73 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.106/1.106, allocations: 222.9 MB / 241 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.134/2.134, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.582e-05, allocations: 6.219 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001394/0.00142, allocations: 0.8584 MB / 1.056 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.002414, allocations: 1.01 MB / 1.057 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.002465, allocations: 3.938 kB / 1.057 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.092e-05/0.002552, allocations: 15.86 kB / 1.057 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.097e-05/0.002606, allocations: 15.8 kB / 1.057 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.002891, allocations: 91.83 kB / 1.057 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.003041, allocations: 147.6 kB / 1.057 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.003166, allocations: 53.11 kB / 1.057 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.00323, allocations: 51.83 kB / 1.057 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.003293, allocations: 55.77 kB / 1.057 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.00332, allocations: 12 kB / 1.057 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.003442, allocations: 91.84 kB / 1.057 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001059/0.003554, allocations: 174 kB / 1.057 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 4.855e-05/0.003608, allocations: 98.44 kB / 1.057 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.003635, allocations: 15.94 kB / 1.057 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.941e-05/0.003658, allocations: 7.938 kB / 1.057 GB, free: 5.023 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.0004538/0.004116, allocations: 0.5541 MB / 1.058 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.681e-05/0.004188, allocations: 51.83 kB / 1.058 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002604/0.004454, allocations: 332.1 kB / 1.058 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simplify1: time 3.057e-05/0.004491, allocations: 27.97 kB / 1.058 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of Alias: time 9.529e-05/0.004591, allocations: 113.6 kB / 1.058 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simplify2: time 2.677e-05/0.004625, allocations: 35.95 kB / 1.058 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of Events: time 0.0001355/0.004764, allocations: 127.7 kB / 1.059 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of Detect States: time 0.000104/0.004875, allocations: 120 kB / 1.059 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001316/0.005012, allocations: 128.7 kB / 1.059 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of Causalize: time 0.001159/0.006178, allocations: 1.174 MB / 1.06 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0003054/0.006493, allocations: 416 kB / 1.06 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of Inline: time 0.000437/0.006936, allocations: 0.5547 MB / 1.061 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.711e-05/0.006969, allocations: 32.09 kB / 1.061 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.271e-05/0.006996, allocations: 35.89 kB / 1.061 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of Causalize: time 0.001134/0.008134, allocations: 1.218 MB / 1.062 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of Tearing: time 7.624e-06/0.008151, allocations: 3.984 kB / 1.062 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of Initialization: time 1.453e-06/0.008158, allocations: 8 kB / 1.062 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of Tearing: time 2.655e-06/0.008164, allocations: 3.938 kB / 1.062 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Categorize: time 5.2e-06/0.008174, allocations: 0 / 1.062 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001327/0.00831, allocations: 88.5 kB / 1.062 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.215e-06/0.008319, allocations: 0 / 1.062 GB, free: 15.76 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.249e-05/0.008357, allocations: 32.83 kB / 1.062 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008576/0.009219, allocations: 1.383 MB / 1.064 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of Templates: time 0.003436/0.01267, allocations: 1.655 MB / 1.065 GB, free: 12.66 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches