Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001595/0.001595, allocations: 104.3 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.001677/0.001677, allocations: 213.4 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.337/1.337, allocations: 230.7 MB / 256.9 MB, free: 7.773 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.093/3.093, allocations: 0.5108 GB / 0.8167 GB, free: 17.91 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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.622e-05, allocations: 2.281 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002056/0.002083, allocations: 1.424 MB / 1.188 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.002805, allocations: 452.7 kB / 1.189 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.002834, allocations: 0 / 1.189 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 7.277e-05/0.002907, allocations: 12.36 kB / 1.189 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.002961, allocations: 12.41 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.003618, allocations: 242.4 kB / 1.189 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.003751, allocations: 111.8 kB / 1.189 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.003794, allocations: 4.484 kB / 1.189 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.003881, allocations: 52.89 kB / 1.189 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.003967, allocations: 38.22 kB / 1.189 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.003999, allocations: 7.375 kB / 1.189 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.004263, allocations: 182.9 kB / 1.19 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001136/0.004377, allocations: 136 kB / 1.19 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.443e-05/0.004411, allocations: 74.05 kB / 1.19 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.004441, allocations: 7.969 kB / 1.19 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.169e-05/0.004453, allocations: 2.938 kB / 1.19 GB, free: 11.79 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.0006308/0.005084, allocations: 0.537 MB / 1.19 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.467e-05/0.005179, allocations: 56.7 kB / 1.19 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002572/0.005436, allocations: 304 kB / 1.191 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001117/0.005547, allocations: 111.8 kB / 1.191 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0006651/0.006213, allocations: 430.9 kB / 1.191 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 8.626e-05/0.006299, allocations: 94.08 kB / 1.191 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 6.119e-05/0.00636, allocations: 63.91 kB / 1.191 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001937/0.006554, allocations: 175.5 kB / 1.191 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 4.077e-05/0.006595, allocations: 18.16 kB / 1.191 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.741e-05/0.006692, allocations: 73.09 kB / 1.192 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.00018/0.006872, allocations: 118.1 kB / 1.192 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002125/0.007084, allocations: 235.4 kB / 1.192 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001766/0.007261, allocations: 159.8 kB / 1.192 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001452/0.007406, allocations: 178.2 kB / 1.192 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.552e-05/0.007422, allocations: 16.55 kB / 1.192 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.719e-05/0.007449, allocations: 33.8 kB / 1.192 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0005071/0.007956, allocations: 358.4 kB / 1.193 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.294e-05/0.007969, allocations: 10.25 kB / 1.193 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.31e-07/0.007969, allocations: 0 / 1.193 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.078e-05/0.00799, allocations: 28.61 kB / 1.193 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.566e-06/0.007994, allocations: 3.938 kB / 1.193 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.894e-06/0.007996, allocations: 2.562 kB / 1.193 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.305e-06/0.008004, allocations: 1.094 kB / 1.193 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001263/0.00813, allocations: 77.97 kB / 1.193 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.644e-06/0.008138, allocations: 0 / 1.193 GB, free: 9.66 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 3.914e-05/0.008177, allocations: 32.55 kB / 1.193 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009222/0.009099, allocations: 0.5714 MB / 1.193 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of Templates: time 0.004427/0.01353, allocations: 1.489 MB / 1.195 GB, free: 9.141 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.973965096985921]