Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001345/0.001345, allocations: 111 kB / 16.42 MB, free: 6.43 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.0007725/0.0007725, allocations: 188.2 kB / 17.36 MB, free: 5.723 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.028/1.028, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.74/1.74, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.957e-06/8.977e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00121/0.001227, allocations: 0.9064 MB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.003529, allocations: 2.478 MB / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.003587, allocations: 0 / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.003622, allocations: 11.81 kB / 0.9548 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.003785, allocations: 51.55 kB / 0.9548 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.004509, allocations: 0.5021 MB / 0.9553 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.004773, allocations: 339.1 kB / 0.9556 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.004817, allocations: 13.69 kB / 0.9556 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.00499, allocations: 151.6 kB / 0.9558 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.005131, allocations: 151.5 kB / 0.9559 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.005169, allocations: 24 kB / 0.9559 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.005586, allocations: 367.7 kB / 0.9563 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002219/0.005814, allocations: 360.6 kB / 0.9566 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.629e-05/0.005895, allocations: 177.4 kB / 0.9568 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.005934, allocations: 31.88 kB / 0.9568 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.58e-05/0.005954, allocations: 4 kB / 0.9568 GB, free: 2.145 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: 32 (32) * Number of variables: 32 (32) Notification: Performance of Bindings: time 0.0007966/0.006754, allocations: 1.056 MB / 0.9579 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 0.0002544/0.007013, allocations: 245.8 kB / 0.9581 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0005292/0.007549, allocations: 0.7047 MB / 0.9588 GB, free: 16 kB / 0.7325 GB Notification: Performance of simplify1: time 7.034e-05/0.007626, allocations: 63.92 kB / 0.9589 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of Alias: time 0.0007849/0.008416, allocations: 0.8088 MB / 0.9596 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simplify2: time 5.47e-05/0.00848, allocations: 79.84 kB / 0.9597 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0002447/0.008731, allocations: 326 kB / 0.96 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of Events: time 0.0001705/0.008908, allocations: 166 kB / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0002763/0.009191, allocations: 343.2 kB / 0.9605 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of Causalize: time 0.0009263/0.01012, allocations: 1.056 MB / 0.9616 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.000578/0.01071, allocations: 0.7754 MB / 0.9623 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of Inline: time 0.0008301/0.01155, allocations: 1.042 MB / 0.9633 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of Partitioning: time 5.673e-05/0.01161, allocations: 63.61 kB / 0.9634 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of Cleanup: time 5.418e-05/0.01167, allocations: 63.84 kB / 0.9634 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of Causalize: time 0.001521/0.01319, allocations: 1.639 MB / 0.965 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of Tearing: time 1.001e-05/0.01321, allocations: 4 kB / 0.9651 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of Initialization: time 3.71e-07/0.01322, allocations: 0 / 0.9651 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of Tearing: time 4.739e-06/0.01322, allocations: 3.938 kB / 0.9651 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of Categorize: time 9.247e-06/0.01324, allocations: 4 kB / 0.9651 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of Solve: time 0.0004692/0.01371, allocations: 472 kB / 0.9655 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of Jacobian: time 2.234e-06/0.01372, allocations: 0 / 0.9655 GB, free: 8.75 MB / 0.7481 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.691e-05/0.01377, allocations: 37.09 kB / 0.9655 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of SimCode: time 0.00127/0.01505, allocations: 1.813 MB / 0.9673 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of Templates: time 0.006925/0.02198, allocations: 5.495 MB / 0.9727 GB, free: 1.406 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches