Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001099/0.001099, allocations: 107.3 kB / 16.42 MB, free: 5.961 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.001071/0.001071, allocations: 180.6 kB / 17.35 MB, free: 5.566 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.122/1.122, allocations: 222.9 MB / 241.1 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.194/2.194, allocations: 469.8 MB / 0.7432 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.081e-05, allocations: 2.281 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001337/0.001357, allocations: 0.9071 MB / 1.067 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.003775, allocations: 2.482 MB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.003836, allocations: 0 / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.003874, allocations: 11.81 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.004043, allocations: 51.56 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.004843, allocations: 0.4944 MB / 1.07 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.005116, allocations: 331.1 kB / 1.07 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.00516, allocations: 9.688 kB / 1.07 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.005349, allocations: 151.6 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.005506, allocations: 151.5 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.005552, allocations: 24 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004757/0.006033, allocations: 371.6 kB / 1.071 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000242/0.006282, allocations: 360.6 kB / 1.071 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 8.656e-05/0.006374, allocations: 181.3 kB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.006413, allocations: 27.94 kB / 1.071 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.678e-05/0.006437, allocations: 15.88 kB / 1.071 GB, free: 8.109 MB / 0.8419 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.0007463/0.007187, allocations: 0.865 MB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002682/0.00746, allocations: 213.4 kB / 1.072 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004865/0.007954, allocations: 0.5407 MB / 1.073 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001366/0.008097, allocations: 134.3 kB / 1.073 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of Alias: time 0.0007279/0.00883, allocations: 0.6056 MB / 1.073 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001223/0.008961, allocations: 134.8 kB / 1.074 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002441/0.009212, allocations: 258.1 kB / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of Events: time 0.0001791/0.009398, allocations: 166 kB / 1.074 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002514/0.009656, allocations: 275.2 kB / 1.074 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008779/0.01054, allocations: 0.862 MB / 1.075 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0005084/0.01106, allocations: 0.611 MB / 1.076 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of Inline: time 0.0007366/0.01181, allocations: 0.8037 MB / 1.076 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.374e-05/0.01186, allocations: 31.62 kB / 1.077 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001481/0.01201, allocations: 203.6 kB / 1.077 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001353/0.01337, allocations: 1.217 MB / 1.078 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of Tearing: time 9.458e-06/0.01339, allocations: 0 / 1.078 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of Initialization: time 3.7e-07/0.01339, allocations: 4 kB / 1.078 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of Tearing: time 3.627e-06/0.0134, allocations: 0 / 1.078 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of Categorize: time 1.165e-05/0.01341, allocations: 7.938 kB / 1.078 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of Solve: time 0.0004789/0.0139, allocations: 408.1 kB / 1.078 GB, free: 244 kB / 0.8419 GB Notification: Performance of Jacobian: time 2.415e-06/0.01391, allocations: 0 / 1.078 GB, free: 244 kB / 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 7.401e-05/0.01399, allocations: 63.83 kB / 1.078 GB, free: 188 kB / 0.8419 GB Notification: Performance of SimCode: time 0.3761/0.3901, allocations: 1.964 MB / 1.08 GB, free: 16.05 MB / 0.8419 GB Notification: Performance of Templates: time 0.008738/0.3989, allocations: 5.522 MB / 1.086 GB, free: 15.78 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches