Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,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.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,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.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 109.1 kB / 16.42 MB, free: 6.527 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.00105/0.00105, allocations: 186.1 kB / 17.35 MB, free: 5.734 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.119/1.119, 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.156/2.156, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03e-05/1.03e-05, allocations: 2.281 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.00134/0.001359, allocations: 0.8951 MB / 1.055 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.003866, allocations: 2.486 MB / 1.058 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.003951, allocations: 4 kB / 1.058 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.003992, allocations: 11.81 kB / 1.058 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.00418, allocations: 47.55 kB / 1.058 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009285/0.005115, allocations: 0.4983 MB / 1.058 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.005425, allocations: 331.2 kB / 1.059 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.005475, allocations: 17.67 kB / 1.059 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.005681, allocations: 151.6 kB / 1.059 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.005842, allocations: 147.5 kB / 1.059 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.00589, allocations: 24 kB / 1.059 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.006423, allocations: 371.7 kB / 1.059 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002287/0.00666, allocations: 364.6 kB / 1.06 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 8.763e-05/0.006753, allocations: 177.3 kB / 1.06 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.00681, allocations: 31.94 kB / 1.06 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.05e-05/0.006835, allocations: 7.938 kB / 1.06 GB, free: 2.176 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.000856/0.007695, allocations: 1.052 MB / 1.061 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0002801/0.00798, allocations: 235.7 kB / 1.061 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.000593/0.008581, allocations: 0.7048 MB / 1.062 GB, free: 60 kB / 0.8262 GB Notification: Performance of simplify1: time 7.989e-05/0.008667, allocations: 75.89 kB / 1.062 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of Alias: time 0.0008906/0.009564, allocations: 0.8087 MB / 1.063 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simplify2: time 7.774e-05/0.009651, allocations: 79.91 kB / 1.063 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of Events: time 0.0002027/0.009859, allocations: 175.4 kB / 1.063 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003574/0.01022, allocations: 364.6 kB / 1.063 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003184/0.01055, allocations: 340.4 kB / 1.064 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001027/0.01158, allocations: 1.053 MB / 1.065 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0006627/0.01225, allocations: 0.7751 MB / 1.066 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of Inline: time 0.0009461/0.01321, allocations: 1.046 MB / 1.067 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.055e-05/0.01328, allocations: 55.62 kB / 1.067 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of Cleanup: time 7.296e-05/0.01336, allocations: 80.56 kB / 1.067 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001764/0.01512, allocations: 1.631 MB / 1.068 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of Tearing: time 8.155e-06/0.01514, allocations: 0 / 1.068 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of Initialization: time 4.11e-07/0.01515, allocations: 4 kB / 1.068 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of Tearing: time 5e-06/0.01516, allocations: 0 / 1.068 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of Categorize: time 1.217e-05/0.01517, allocations: 7.938 kB / 1.068 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of Solve: time 0.0005496/0.01573, allocations: 467.7 kB / 1.069 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.246e-06/0.01574, allocations: 0 / 1.069 GB, free: 8.75 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 4.802e-05/0.01579, allocations: 42.12 kB / 1.069 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001561/0.01736, allocations: 1.801 MB / 1.071 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of Templates: time 0.008232/0.0256, allocations: 5.538 MB / 1.076 GB, free: 1.383 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches