Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.001467/0.001467, 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.001531/0.001531, allocations: 219.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.3/1.3, allocations: 230.7 MB / 256.9 MB, free: 7.719 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.799/2.799, allocations: 0.4893 GB / 0.7952 GB, free: 35.62 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.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.114e-05, allocations: 2.281 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001725/0.001736, allocations: 1.425 MB / 1.156 GB, free: 24.51 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0006089/0.002345, allocations: 450.2 kB / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.002375, allocations: 0 / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.624e-05/0.002432, allocations: 10.55 kB / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.002476, allocations: 15.31 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.003022, allocations: 236.8 kB / 1.156 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.003156, allocations: 119.7 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.003197, allocations: 2.656 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.737e-05/0.003274, allocations: 52.12 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.003336, allocations: 35.94 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.00336, allocations: 7.719 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.003576, allocations: 185.4 kB / 1.157 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of combineBinaries: time 9.078e-05/0.003667, allocations: 139.4 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.202e-05/0.003689, allocations: 70.09 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.003713, allocations: 4.062 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.01e-05/0.003723, allocations: 4.594 kB / 1.157 GB, free: 23.84 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: 12 (6) * Number of variables: 12 (12) Notification: Performance of [SIM] Bindings: time 0.0005126/0.004236, allocations: 0.5316 MB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.404e-05/0.00432, allocations: 65.22 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002291/0.004549, allocations: 302 kB / 1.158 GB, free: 23.15 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.846e-05/0.004648, allocations: 117.1 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005296/0.005177, allocations: 428.2 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.042e-05/0.005248, allocations: 91.16 kB / 1.159 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.484e-05/0.005293, allocations: 75.61 kB / 1.159 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001497/0.005442, allocations: 173 kB / 1.159 GB, free: 22.4 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 3.724e-05/0.005479, allocations: 18.84 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.11e-05/0.005561, allocations: 72.11 kB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001638/0.005724, allocations: 115.3 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001725/0.005897, allocations: 241.5 kB / 1.159 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001445/0.006041, allocations: 161.2 kB / 1.159 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000115/0.006156, allocations: 174.2 kB / 1.16 GB, free: 21.93 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.25e-05/0.006169, allocations: 17.28 kB / 1.16 GB, free: 21.91 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.025e-05/0.006189, allocations: 28.42 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004412/0.00663, allocations: 363.6 kB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.288e-06/0.00664, allocations: 10.09 kB / 1.16 GB, free: 21.78 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.00664, allocations: 5.312 kB / 1.16 GB, free: 21.78 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.31e-05/0.006653, allocations: 23.45 kB / 1.16 GB, free: 21.74 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.356e-06/0.006656, allocations: 5.344 kB / 1.16 GB, free: 21.74 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.624e-06/0.006658, allocations: 1.219 kB / 1.16 GB, free: 21.74 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.542e-06/0.006664, allocations: 1.344 kB / 1.16 GB, free: 21.74 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001068/0.006771, allocations: 69.92 kB / 1.16 GB, free: 21.72 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.412e-06/0.006778, allocations: 9.031 kB / 1.16 GB, free: 21.71 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: ......... 2 * 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: ................. 6 (6) {occSchDay.occupied, occSchDay.tNext, occSchWee.occupied, occSchWee.tNext, $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: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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 2.735e-05/0.006805, allocations: 23.94 kB / 1.16 GB, free: 21.7 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007091/0.007514, allocations: 0.5772 MB / 1.161 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of Templates: time 0.003745/0.01126, allocations: 1.479 MB / 1.162 GB, free: 21.2 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,occSchDay.tNexNonOcc,occSchWee.tNexNonOcc,occSchDay.occupied,occSchWee.occupied Variables in the result:occSchDay.firstEntryOccupied,occSchDay.nRow,occSchDay.occupancy[1],occSchDay.occupancy[2],occSchDay.occupied,occSchDay.period,occSchDay.tNexNonOcc,occSchWee.firstEntryOccupied,occSchWee.nRow,occSchWee.occupancy[10],occSchWee.occupancy[11],occSchWee.occupancy[12],occSchWee.occupancy[1],occSchWee.occupancy[2],occSchWee.occupancy[3],occSchWee.occupancy[4],occSchWee.occupancy[5],occSchWee.occupancy[6],occSchWee.occupancy[7],occSchWee.occupancy[8],occSchWee.occupancy[9],occSchWee.occupied,occSchWee.period,occSchWee.tNexNonOcc,time [Calling sys.exit(0), Time elapsed: 7.23521884100046]