Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 111.8 kB / 16.42 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.001049/0.001049, allocations: 187.1 kB / 17.36 MB, free: 5.727 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.121/1.121, 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.0.1-master/package.mo): time 2.173/2.173, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.231e-05, allocations: 5.031 kB / 1.055 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001351/0.001372, allocations: 0.9042 MB / 1.056 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.003814, allocations: 2.478 MB / 1.058 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.003877, allocations: 11.88 kB / 1.058 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.003916, allocations: 11.81 kB / 1.058 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.004081, allocations: 43.62 kB / 1.058 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.004887, allocations: 0.4963 MB / 1.058 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.005169, allocations: 335.1 kB / 1.059 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.005226, allocations: 21.66 kB / 1.059 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.005399, allocations: 147.6 kB / 1.059 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.00556, allocations: 151.5 kB / 1.059 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.005605, allocations: 24 kB / 1.059 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.006092, allocations: 367.7 kB / 1.059 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002227/0.006322, allocations: 364.6 kB / 1.06 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 8.256e-05/0.00641, allocations: 177.3 kB / 1.06 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.006454, allocations: 27.94 kB / 1.06 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.618e-05/0.006474, allocations: 11.88 kB / 1.06 GB, free: 2.215 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: 32 (32) * Number of variables: 32 (32) Notification: Performance of Bindings: time 0.0008441/0.007324, allocations: 1.045 MB / 1.061 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0002664/0.007596, allocations: 242.2 kB / 1.061 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0005589/0.008162, allocations: 0.7047 MB / 1.062 GB, free: 100 kB / 0.8262 GB Notification: Performance of simplify1: time 6.841e-05/0.008237, allocations: 67.92 kB / 1.062 GB, free: 32 kB / 0.8262 GB Notification: Performance of Alias: time 0.0008578/0.0091, allocations: 0.8127 MB / 1.063 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simplify2: time 6.167e-05/0.009171, allocations: 79.91 kB / 1.063 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of Events: time 0.0001837/0.00936, allocations: 175.4 kB / 1.063 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002924/0.00966, allocations: 364.6 kB / 1.063 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003011/0.009968, allocations: 339.1 kB / 1.064 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001007/0.01098, allocations: 1.052 MB / 1.065 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0006193/0.01161, allocations: 0.7754 MB / 1.066 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of Inline: time 0.0008624/0.01248, allocations: 1.034 MB / 1.067 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.488e-05/0.01255, allocations: 63.62 kB / 1.067 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of Cleanup: time 5.001e-05/0.01261, allocations: 63.86 kB / 1.067 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of Causalize: time 0.00165/0.01426, allocations: 1.654 MB / 1.068 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of Tearing: time 7.945e-06/0.01428, allocations: 0 / 1.068 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of Initialization: time 2.8e-07/0.01429, allocations: 4 kB / 1.068 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of Tearing: time 2.895e-06/0.01429, allocations: 0 / 1.068 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of Categorize: time 1.177e-05/0.01431, allocations: 7.938 kB / 1.068 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of Solve: time 0.000525/0.01484, allocations: 463.7 kB / 1.069 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.946e-06/0.01485, allocations: 0 / 1.069 GB, free: 8.793 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * 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: .................... 8 (8) {sunRiseSetSyd.nextSunSet, sunRiseSetSyd.nextSunRise, sunRiseSetAntarctic.nextSunSet, sunRiseSetAntarctic.nextSunRise, sunRiseSetSf.nextSunSet, sunRiseSetSf.nextSunRise, sunRiseSetArctic.nextSunSet, sunRiseSetArctic.nextSunRise} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 20 (20) {sunRiseSetArctic.sunUp, sunRiseSetSf.sunUp, sunRiseSetAntarctic.sunUp, sunRiseSetSyd.sunUp, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:50, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 74 (scalar:74, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:0, if:4, 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 6.342e-05/0.01492, allocations: 38.66 kB / 1.069 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001462/0.01638, allocations: 1.801 MB / 1.071 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of Templates: time 0.007567/0.02396, allocations: 5.518 MB / 1.076 GB, free: 1.43 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches