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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001104/0.001104, allocations: 109.5 kB / 16.42 MB, free: 6.52 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: 187.8 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.125/1.125, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.214/2.214, allocations: 472.6 MB / 0.7459 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.181e-05, allocations: 8.75 kB / 1.07 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001317/0.001338, allocations: 0.898 MB / 1.071 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.003751, allocations: 2.498 MB / 1.073 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.003812, allocations: 3.938 kB / 1.073 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.003846, allocations: 11.81 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.004006, allocations: 43.62 kB / 1.073 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.004794, allocations: 0.4905 MB / 1.074 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.005075, allocations: 339.2 kB / 1.074 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.005122, allocations: 17.67 kB / 1.074 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.005302, allocations: 147.6 kB / 1.074 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.005456, allocations: 151.5 kB / 1.075 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.005503, allocations: 24 kB / 1.075 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.005978, allocations: 367.7 kB / 1.075 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002247/0.00621, allocations: 364.6 kB / 1.075 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 8.313e-05/0.006298, allocations: 177.3 kB / 1.075 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.006341, allocations: 31.88 kB / 1.075 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.558e-05/0.006362, allocations: 7.938 kB / 1.075 GB, free: 4.117 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.0008416/0.007207, allocations: 1.056 MB / 1.076 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002614/0.007474, allocations: 241.6 kB / 1.077 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0005716/0.008052, allocations: 0.7008 MB / 1.077 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of simplify1: time 6.983e-05/0.008128, allocations: 71.89 kB / 1.077 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of Alias: time 0.0008377/0.008971, allocations: 0.8085 MB / 1.078 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of simplify2: time 5.72e-05/0.009038, allocations: 76.11 kB / 1.078 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002564/0.009301, allocations: 322 kB / 1.079 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of Events: time 0.0001815/0.009491, allocations: 178 kB / 1.079 GB, free: 444 kB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002883/0.009786, allocations: 339.2 kB / 1.079 GB, free: 36 kB / 0.8419 GB Notification: Performance of Causalize: time 0.3724/0.3822, allocations: 1.047 MB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0006832/0.3829, allocations: 0.7776 MB / 1.081 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of Inline: time 0.00086/0.3838, allocations: 1.023 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.934e-05/0.3838, allocations: 73.59 kB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of Cleanup: time 6.481e-05/0.3839, allocations: 65.78 kB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001565/0.3855, allocations: 1.649 MB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Tearing: time 1.322e-05/0.3855, allocations: 1.094 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Initialization: time 3.31e-07/0.3855, allocations: 0 / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Tearing: time 6.943e-06/0.3855, allocations: 9.219 kB / 1.084 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of Categorize: time 1.399e-05/0.3855, allocations: 2.969 kB / 1.084 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of Solve: time 0.0005301/0.3861, allocations: 461.4 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.316e-06/0.3861, allocations: 0 / 1.084 GB, free: 13.14 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 5.598e-05/0.3861, allocations: 61.62 kB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of SimCode: time 0.00171/0.3878, allocations: 1.813 MB / 1.086 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.008984/0.3968, allocations: 5.494 MB / 1.091 GB, free: 11.64 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