Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 100.4 kB / 19.72 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 209.7 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.298/1.298, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.786/2.786, allocations: 0.49 GB / 0.7958 GB, free: 35.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=9405,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_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=9405,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_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.635e-05, allocations: 6.219 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001452/0.001468, allocations: 0.8488 MB / 1.156 GB, free: 24.76 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.003742, allocations: 2.411 MB / 1.158 GB, free: 23.11 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.003805, allocations: 2.031 kB / 1.158 GB, free: 23.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.003835, allocations: 14.16 kB / 1.158 GB, free: 23.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.004011, allocations: 54.83 kB / 1.158 GB, free: 23.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.004834, allocations: 499.2 kB / 1.159 GB, free: 22.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.00512, allocations: 338.5 kB / 1.159 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.005165, allocations: 14.27 kB / 1.159 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.005404, allocations: 151.9 kB / 1.159 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.005555, allocations: 157.4 kB / 1.159 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.005601, allocations: 23.38 kB / 1.159 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005282/0.006129, allocations: 396.5 kB / 1.16 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000287/0.006416, allocations: 441.1 kB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 8.886e-05/0.006505, allocations: 215.1 kB / 1.16 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.006548, allocations: 17.03 kB / 1.16 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.722e-05/0.006565, allocations: 3.312 kB / 1.16 GB, free: 22.05 MB / 0.9044 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 [SIM] Bindings: time 0.0008666/0.007431, allocations: 1.128 MB / 1.162 GB, free: 21.25 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001939/0.007625, allocations: 189.9 kB / 1.162 GB, free: 21.15 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006883/0.008314, allocations: 0.8814 MB / 1.163 GB, free: 20.72 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002475/0.008561, allocations: 242 kB / 1.163 GB, free: 20.56 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000981/0.009542, allocations: 0.8423 MB / 1.164 GB, free: 20.04 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002479/0.00979, allocations: 247.2 kB / 1.164 GB, free: 19.88 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.916e-05/0.009889, allocations: 124.8 kB / 1.164 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003105/0.0102, allocations: 343.3 kB / 1.164 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001261/0.01033, allocations: 119.1 kB / 1.164 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000381/0.01071, allocations: 474 kB / 1.165 GB, free: 19.19 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0005639/0.01127, allocations: 0.5759 MB / 1.165 GB, free: 18.88 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005338/0.0118, allocations: 0.738 MB / 1.166 GB, free: 18.57 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0004948/0.0123, allocations: 468.3 kB / 1.167 GB, free: 18.28 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0008124/0.01311, allocations: 1.08 MB / 1.168 GB, free: 17.83 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.555e-05/0.01315, allocations: 31.25 kB / 1.168 GB, free: 17.8 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001441/0.01329, allocations: 182.5 kB / 1.168 GB, free: 17.72 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.00104/0.01433, allocations: 0.9039 MB / 1.169 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.707e-05/0.01435, allocations: 28.06 kB / 1.169 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.2e-07/0.01435, allocations: 0 / 1.169 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 7.494e-06/0.01436, allocations: 2.812 kB / 1.169 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 8.446e-06/0.01436, allocations: 22.38 kB / 1.169 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.255e-05/0.01438, allocations: 3.594 kB / 1.169 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001029/0.01541, allocations: 0.9578 MB / 1.17 GB, free: 17.22 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.907e-06/0.01542, allocations: 1.25 kB / 1.17 GB, free: 17.22 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 8 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * 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) {} * Number of discrete variables: ................. 16 (16) {sunRiseSetArctic.sunUp, sunRiseSetSf.sunUp, sunRiseSetAntarctic.sunUp, sunRiseSetSyd.sunUp, $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 clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:28, 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 (resizable: 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: ........... 56 (scalar:56, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.107e-05/0.01551, allocations: 51.84 kB / 1.17 GB, free: 17.19 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001866/0.01737, allocations: 1.379 MB / 1.171 GB, free: 16.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.009127/0.0265, allocations: 5.597 MB / 1.177 GB, free: 15.89 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.5448073358275]