Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00151/0.00151, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001574/0.001574, allocations: 212.5 kB / 23.06 MB, free: 4.988 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.376/1.376, allocations: 230.7 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.556/2.556, allocations: 476 MB / 0.7708 GB, free: 4.672 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.013e-05, allocations: 3.438 kB / 1.118 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002375/0.002395, allocations: 1.438 MB / 1.119 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.003251, allocations: 461.5 kB / 1.12 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.003284, allocations: 0 / 1.12 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.537e-05/0.00335, allocations: 8.562 kB / 1.12 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.0034, allocations: 7.453 kB / 1.12 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.004084, allocations: 248.7 kB / 1.12 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.004234, allocations: 109 kB / 1.12 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.004273, allocations: 4.766 kB / 1.12 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.004373, allocations: 52.97 kB / 1.12 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.004449, allocations: 33.56 kB / 1.12 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.004476, allocations: 7.75 kB / 1.12 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.004753, allocations: 190.6 kB / 1.12 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001316/0.004885, allocations: 132.4 kB / 1.121 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.475e-05/0.004929, allocations: 72.7 kB / 1.121 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.004957, allocations: 5.438 kB / 1.121 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.38e-05/0.004971, allocations: 5.594 kB / 1.121 GB, free: 7.27 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: 12 (6) * Number of variables: 12 (12) Notification: Performance of [SIM] Bindings: time 0.0007287/0.005699, allocations: 0.5337 MB / 1.121 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001118/0.005811, allocations: 69.84 kB / 1.121 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of [SIM] Early Inline: time 0.0003406/0.006152, allocations: 303.9 kB / 1.121 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 1: time 0.0001364/0.006288, allocations: 104 kB / 1.122 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of [SIM] Alias: time 0.000699/0.006987, allocations: 433.7 kB / 1.122 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of [SIM] Simplify 2: time 0.0001143/0.007101, allocations: 94.81 kB / 1.122 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of [SIM] Remove Stream: time 7.774e-05/0.007179, allocations: 71.59 kB / 1.122 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of [SIM] Detect States: time 0.0002304/0.007409, allocations: 167.3 kB / 1.122 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of [SIM] Events: time 5.024e-05/0.00746, allocations: 26.92 kB / 1.122 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of [SIM] Partitioning: time 0.000117/0.007577, allocations: 65.47 kB / 1.122 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of [SIM] Causalize: time 0.0001871/0.007764, allocations: 110.1 kB / 1.122 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000243/0.008007, allocations: 242.9 kB / 1.123 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of [INI] Simplify: time 0.0002208/0.008228, allocations: 162.7 kB / 1.123 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of [INI] Inline: time 0.0001669/0.008394, allocations: 173.5 kB / 1.123 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of [INI] Partitioning: time 1.962e-05/0.008414, allocations: 17.03 kB / 1.123 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of [INI] Cleanup: time 2.858e-05/0.008443, allocations: 33.53 kB / 1.123 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of [INI] Causalize: time 0.0005231/0.008966, allocations: 365.6 kB / 1.123 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of [INI] Tearing: time 1.386e-05/0.00898, allocations: 5.438 kB / 1.123 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.00898, allocations: 1.188 kB / 1.123 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of [SIM] DAE-Mode: time 2.849e-05/0.009009, allocations: 25.67 kB / 1.123 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of [SIM] Remove Dummies: time 3.236e-06/0.009012, allocations: 3.938 kB / 1.123 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of [SIM] Tearing: time 3.537e-06/0.009015, allocations: 10.22 kB / 1.123 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of [SIM] Categorize: time 7.324e-06/0.009023, allocations: 1.859 kB / 1.123 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of [SIM] Solve: time 0.0001252/0.009148, allocations: 70.05 kB / 1.124 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of [SIM] Jacobian: time 8.486e-06/0.009156, allocations: 7.938 kB / 1.124 GB, free: 5.133 MB / 0.8419 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 3.735e-05/0.009194, allocations: 21.22 kB / 1.124 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of SimCode: time 0.000919/0.01011, allocations: 0.5536 MB / 1.124 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of Templates: time 0.004232/0.01434, allocations: 1.477 MB / 1.126 GB, free: 4.645 MB / 0.8419 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.5633354900055565]