Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001568/0.001568, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001482/0.001482, allocations: 216.5 kB / 23.07 MB, free: 4.844 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.398/1.398, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.071/3.071, allocations: 0.5108 GB / 0.8167 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.772e-05, allocations: 2.281 kB / 1.187 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002128/0.002145, allocations: 1.496 MB / 1.189 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009701/0.003116, allocations: 0.626 MB / 1.189 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.003153, allocations: 3.844 kB / 1.189 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 7.96e-05/0.003233, allocations: 8.438 kB / 1.189 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.003299, allocations: 12.61 kB / 1.189 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.004146, allocations: 361.9 kB / 1.19 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.004337, allocations: 162 kB / 1.19 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.757e-05/0.004394, allocations: 8.875 kB / 1.19 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.004508, allocations: 76.77 kB / 1.19 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.0046, allocations: 55 kB / 1.19 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.004636, allocations: 11.22 kB / 1.19 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.005025, allocations: 275.9 kB / 1.19 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001643/0.00519, allocations: 204.5 kB / 1.19 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.648e-05/0.005236, allocations: 107.8 kB / 1.19 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.005274, allocations: 6.938 kB / 1.19 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.446e-05/0.005288, allocations: 2.031 kB / 1.19 GB, free: 11.38 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: 18 (9) * Number of variables: 18 (18) Notification: Performance of [SIM] Bindings: time 0.0007936/0.006082, allocations: 0.7094 MB / 1.191 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001209/0.006203, allocations: 89.88 kB / 1.191 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000388/0.006591, allocations: 430.7 kB / 1.192 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000159/0.00675, allocations: 137.6 kB / 1.192 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0008733/0.007623, allocations: 0.5957 MB / 1.192 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001095/0.007733, allocations: 119.4 kB / 1.192 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 8.192e-05/0.007815, allocations: 83.7 kB / 1.192 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002335/0.008048, allocations: 208.4 kB / 1.193 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 5.176e-05/0.0081, allocations: 21.97 kB / 1.193 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001387/0.008239, allocations: 110.2 kB / 1.193 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002365/0.008475, allocations: 163.4 kB / 1.193 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003114/0.008787, allocations: 351.2 kB / 1.193 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.000221/0.009008, allocations: 200.3 kB / 1.194 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002157/0.009223, allocations: 254.1 kB / 1.194 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.008e-05/0.009243, allocations: 22.44 kB / 1.194 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.659e-05/0.00928, allocations: 39.55 kB / 1.194 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0007288/0.01001, allocations: 0.5238 MB / 1.194 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.486e-05/0.01002, allocations: 11.72 kB / 1.194 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.01002, allocations: 0 / 1.194 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.521e-05/0.01005, allocations: 42.03 kB / 1.194 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.687e-06/0.01005, allocations: 1.031 kB / 1.194 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.078e-06/0.01006, allocations: 6.875 kB / 1.194 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.076e-06/0.01006, allocations: 5.156 kB / 1.194 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001759/0.01024, allocations: 118.4 kB / 1.194 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.147e-06/0.01025, allocations: 1.031 kB / 1.194 GB, free: 8.703 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {occSchDay.occupied, occSchDay.tNext, occSchDay1.occupied, occSchDay1.tNext, occSchDay2.occupied, occSchDay2.tNext, $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: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * 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 8.854e-05/0.01034, allocations: 25.2 kB / 1.195 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001195/0.01153, allocations: 0.7009 MB / 1.195 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of Templates: time 0.005388/0.01692, allocations: 2.143 MB / 1.197 GB, free: 8.078 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.firstEntryOccupied,occSchDay.nRow,occSchDay.occupancy[1],occSchDay.occupancy[2],occSchDay.occupied,occSchDay.period,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.firstEntryOccupied,occSchDay1.nRow,occSchDay1.occupancy[1],occSchDay1.occupancy[2],occSchDay1.occupied,occSchDay1.period,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.firstEntryOccupied,occSchDay2.nRow,occSchDay2.occupancy[1],occSchDay2.occupancy[2],occSchDay2.occupancy[3],occSchDay2.occupancy[4],occSchDay2.occupied,occSchDay2.period,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time [Calling sys.exit(0), Time elapsed: 8.15966662199935]