Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 109.1 kB / 16.42 MB, free: 6.48 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.001112/0.001112, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.948/1.948, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.411e-05, allocations: 4.812 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001375/0.001398, allocations: 0.8326 MB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.002506, allocations: 1.018 MB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.002555, allocations: 0 / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.847e-05/0.002641, allocations: 7.875 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.002689, allocations: 23.81 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.002988, allocations: 95.75 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.003138, allocations: 127.7 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.003277, allocations: 53.39 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.003346, allocations: 55.77 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.003412, allocations: 59.75 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.003439, allocations: 15.94 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.003555, allocations: 87.91 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001219/0.003683, allocations: 162.2 kB / 0.954 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.691e-05/0.003726, allocations: 90.53 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.003751, allocations: 15.94 kB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.872e-05/0.003775, allocations: 15.94 kB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 (17) * Number of variables: 25 (9) Notification: Performance of Bindings: time 0.0004368/0.004216, allocations: 0.5346 MB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 6.315e-05/0.004286, allocations: 43.86 kB / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002449/0.004537, allocations: 312.2 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of simplify1: time 2.673e-05/0.004571, allocations: 27.97 kB / 0.955 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of Alias: time 0.0001049/0.004682, allocations: 117.6 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of simplify2: time 2.249e-05/0.00471, allocations: 31.95 kB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of Detect States: time 7.142e-05/0.004786, allocations: 74.22 kB / 0.9552 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of Events: time 0.0001552/0.004948, allocations: 139.7 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001271/0.005082, allocations: 126.3 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of Causalize: time 0.001024/0.006112, allocations: 1.017 MB / 0.9564 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0002989/0.006419, allocations: 408.1 kB / 0.9568 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of Inline: time 0.000417/0.006842, allocations: 0.539 MB / 0.9574 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.207e-05/0.006871, allocations: 24.12 kB / 0.9574 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of Cleanup: time 2.753e-05/0.006903, allocations: 35.89 kB / 0.9574 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of Causalize: time 0.001011/0.007919, allocations: 1.073 MB / 0.9585 GB, free: 236 kB / 0.7325 GB Notification: Performance of Tearing: time 8.466e-06/0.007936, allocations: 0 / 0.9585 GB, free: 236 kB / 0.7325 GB Notification: Performance of Initialization: time 3.01e-07/0.007941, allocations: 0 / 0.9585 GB, free: 236 kB / 0.7325 GB Notification: Performance of Tearing: time 5.28e-06/0.00795, allocations: 7.938 kB / 0.9585 GB, free: 228 kB / 0.7325 GB Notification: Performance of Categorize: time 7.013e-06/0.007961, allocations: 4 kB / 0.9585 GB, free: 224 kB / 0.7325 GB Notification: Performance of Solve: time 0.0001258/0.008091, allocations: 83.94 kB / 0.9586 GB, free: 140 kB / 0.7325 GB Notification: Performance of Jacobian: time 2.174e-06/0.0081, allocations: 0 / 0.9586 GB, free: 140 kB / 0.7325 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: ................. 20 (12) {$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: ........... 27 (scalar:25, array:2, 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: ........... 27 (scalar:25, array:2, 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 2.907e-05/0.008133, allocations: 26.58 kB / 0.9586 GB, free: 124 kB / 0.7325 GB Notification: Performance of SimCode: time 0.0008531/0.008992, allocations: 1.329 MB / 0.9599 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of Templates: time 0.003485/0.01249, allocations: 1.574 MB / 0.9614 GB, free: 13.19 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches