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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 250.1 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.564/2.564, allocations: 496.2 MB / 0.7826 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 177] 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=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_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.731e-05, allocations: 2.281 kB / 1.136 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001735/0.001752, allocations: 0.9058 MB / 1.137 GB, free: 11.62 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.004738, allocations: 2.494 MB / 1.14 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.004828, allocations: 0 / 1.14 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.004866, allocations: 11.81 kB / 1.14 GB, free: 9.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.005062, allocations: 51.55 kB / 1.14 GB, free: 9.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.006112, allocations: 0.5022 MB / 1.14 GB, free: 8.535 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.006471, allocations: 335.1 kB / 1.141 GB, free: 8.207 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.006523, allocations: 5.688 kB / 1.141 GB, free: 8.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.006748, allocations: 151.6 kB / 1.141 GB, free: 8.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.006926, allocations: 151.5 kB / 1.141 GB, free: 7.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.006969, allocations: 24 kB / 1.141 GB, free: 7.879 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.007532, allocations: 371.7 kB / 1.141 GB, free: 7.516 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0003428/0.007875, allocations: 404.5 kB / 1.142 GB, free: 7.117 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0001211/0.007996, allocations: 185.3 kB / 1.142 GB, free: 6.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.008052, allocations: 39.88 kB / 1.142 GB, free: 6.895 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.789e-05/0.00807, allocations: 4 kB / 1.142 GB, free: 6.891 MB / 0.92 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.0009476/0.009017, allocations: 0.9057 MB / 1.143 GB, free: 5.867 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0003581/0.009375, allocations: 253.9 kB / 1.143 GB, free: 5.621 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0005656/0.009941, allocations: 0.537 MB / 1.144 GB, free: 5.059 MB / 0.92 GB Notification: Performance of Simplify 1: time 0.0001973/0.01014, allocations: 170.2 kB / 1.144 GB, free: 4.863 MB / 0.92 GB Notification: Performance of Alias: time 0.001017/0.01116, allocations: 0.7036 MB / 1.144 GB, free: 4.043 MB / 0.92 GB Notification: Performance of Simplify 2: time 0.0001975/0.01135, allocations: 174.4 kB / 1.145 GB, free: 3.844 MB / 0.92 GB Notification: Performance of Remove Stream: time 0.0001411/0.01149, allocations: 142.5 kB / 1.145 GB, free: 3.68 MB / 0.92 GB Notification: Performance of Detect States: time 0.0004563/0.01195, allocations: 309.2 kB / 1.145 GB, free: 3.336 MB / 0.92 GB Notification: Performance of Events: time 0.0001658/0.01212, allocations: 118.3 kB / 1.145 GB, free: 3.223 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0004097/0.01253, allocations: 370.5 kB / 1.146 GB, free: 2.789 MB / 0.92 GB Notification: Performance of Causalize: time 0.001185/0.01371, allocations: 0.9982 MB / 1.146 GB, free: 1.723 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0005166/0.01423, allocations: 0.515 MB / 1.147 GB, free: 1.207 MB / 0.92 GB Notification: Performance of Simplify: time 0.0004964/0.01472, allocations: 385.2 kB / 1.147 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of Inline: time 0.0006306/0.01535, allocations: 0.6436 MB / 1.148 GB, free: 136 kB / 0.92 GB Notification: Performance of Partitioning: time 4.318e-05/0.0154, allocations: 31.62 kB / 1.148 GB, free: 100 kB / 0.92 GB Notification: Performance of Cleanup: time 0.0001848/0.01558, allocations: 195.6 kB / 1.148 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of Causalize: time 0.001748/0.01733, allocations: 1.431 MB / 1.15 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of Tearing: time 1.211e-05/0.01734, allocations: 7.938 kB / 1.15 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of Initialization: time 7.11e-07/0.01734, allocations: 0 / 1.15 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of Remove Dummies: time 7.154e-06/0.01735, allocations: 0 / 1.15 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of Tearing: time 6.422e-06/0.01736, allocations: 7.938 kB / 1.15 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of Categorize: time 1.524e-05/0.01737, allocations: 4 kB / 1.15 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of Solve: time 0.000615/0.01799, allocations: 436.2 kB / 1.15 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of Jacobian: time 3.506e-06/0.01799, allocations: 3.938 kB / 1.15 GB, free: 13.96 MB / 0.9356 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * 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: ........... 46 (scalar:46, 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: ........... 70 (scalar:70, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001021/0.01809, allocations: 56.06 kB / 1.15 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002146/0.02024, allocations: 1.938 MB / 1.152 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of Templates: time 0.009689/0.02993, allocations: 5.4 MB / 1.157 GB, free: 6.578 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.307046511210501]