Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 109.4 kB / 16.42 MB, free: 6.469 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.001059/0.001059, allocations: 192.3 kB / 17.36 MB, free: 5.699 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.133/1.133, 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.206/2.206, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/1.941e-05, allocations: 7.766 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001556/0.001586, allocations: 0.8566 MB / 1.056 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.002548, allocations: 0.8857 MB / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.002617, allocations: 4 kB / 1.056 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.002657, allocations: 7.875 kB / 1.056 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.002742, allocations: 15.8 kB / 1.056 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.00292, allocations: 39.94 kB / 1.056 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.003076, allocations: 127.6 kB / 1.057 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.003191, allocations: 37.09 kB / 1.057 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.003309, allocations: 47.84 kB / 1.057 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.003391, allocations: 55.75 kB / 1.057 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.003421, allocations: 16 kB / 1.057 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.638e-05/0.003442, allocations: 8 kB / 1.057 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001221/0.003568, allocations: 174 kB / 1.057 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 4.61e-05/0.00362, allocations: 106.3 kB / 1.057 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.003655, allocations: 19.94 kB / 1.057 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.247e-05/0.003681, allocations: 3.938 kB / 1.057 GB, free: 5.262 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: 13 (13) * Number of variables: 13 (13) Notification: Performance of Bindings: time 0.0004928/0.004178, allocations: 0.5579 MB / 1.058 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001032/0.004286, allocations: 59.77 kB / 1.058 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002351/0.004528, allocations: 292.2 kB / 1.058 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simplify1: time 3.452e-05/0.004568, allocations: 27.95 kB / 1.058 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of Alias: time 0.000439/0.005012, allocations: 343 kB / 1.058 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of simplify2: time 2.876e-05/0.005049, allocations: 27.97 kB / 1.058 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of Events: time 0.0001754/0.005229, allocations: 138.3 kB / 1.058 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001349/0.005372, allocations: 150.1 kB / 1.059 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001603/0.005539, allocations: 170.5 kB / 1.059 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0004423/0.005987, allocations: 437.7 kB / 1.059 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0002968/0.0063, allocations: 388.3 kB / 1.06 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of Inline: time 0.0003837/0.006689, allocations: 476 kB / 1.06 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of Partitioning: time 3.467e-05/0.00673, allocations: 36.05 kB / 1.06 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.446e-05/0.006759, allocations: 23.91 kB / 1.06 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of Causalize: time 0.000526/0.007289, allocations: 472.5 kB / 1.06 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of Tearing: time 7.705e-06/0.007306, allocations: 4 kB / 1.06 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of Initialization: time 5.31e-07/0.007311, allocations: 0 / 1.06 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of Tearing: time 4.459e-06/0.00732, allocations: 3.938 kB / 1.06 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of Categorize: time 8.606e-06/0.007334, allocations: 4 kB / 1.06 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of Solve: time 0.0001028/0.007441, allocations: 63.94 kB / 1.061 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.977e-06/0.00745, allocations: 0 / 1.061 GB, free: 1.266 MB / 0.8262 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: ......... 6 * 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: ................. 16 (16) {hysteresis.y, hysteresis1.y, hysteresis2.y, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 23 (scalar:23, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * 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: ........... 26 (scalar:26, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * 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.788e-05/0.007492, allocations: 40.81 kB / 1.061 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0006014/0.008097, allocations: 1.034 MB / 1.062 GB, free: 184 kB / 0.8262 GB Notification: Performance of Templates: time 0.002986/0.01109, allocations: 1.296 MB / 1.063 GB, free: 14.88 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches