Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.001396/0.001396, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001555/0.001555, allocations: 209.2 kB / 23 MB, free: 4.965 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.316/1.316, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.809/2.809, allocations: 0.49 GB / 0.7958 GB, free: 35.46 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.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.661e-05, allocations: 6.219 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001916/0.001933, allocations: 1.502 MB / 1.156 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.002648, allocations: 499.1 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.002699, allocations: 1.219 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 7.33e-05/0.002772, allocations: 10.31 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.002818, allocations: 15.72 kB / 1.157 GB, free: 23.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.003023, allocations: 44.12 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.003177, allocations: 121.9 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.003264, allocations: 11.94 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.003412, allocations: 63.11 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.003484, allocations: 46.47 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.003507, allocations: 11.56 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.07e-05/0.003548, allocations: 12.05 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001039/0.003652, allocations: 147.8 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.623e-05/0.003678, allocations: 80.69 kB / 1.157 GB, free: 23.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.003708, allocations: 8.5 kB / 1.157 GB, free: 23.53 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.042e-05/0.003718, allocations: 1.281 kB / 1.157 GB, free: 23.53 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: 8 (8) * Number of variables: 8 (7) Notification: Performance of [SIM] Bindings: time 0.0004466/0.004165, allocations: 0.5038 MB / 1.158 GB, free: 23.08 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.944e-05/0.004224, allocations: 54.84 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000275/0.004499, allocations: 361 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000108/0.004607, allocations: 129 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0001281/0.004736, allocations: 173.4 kB / 1.159 GB, free: 22.55 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 9.149e-05/0.004827, allocations: 130.5 kB / 1.159 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 6.542e-05/0.004892, allocations: 86.47 kB / 1.159 GB, free: 22.35 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001611/0.005053, allocations: 169.7 kB / 1.159 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001929/0.005246, allocations: 127.8 kB / 1.159 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002007/0.005447, allocations: 180.4 kB / 1.159 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0005046/0.005952, allocations: 365.4 kB / 1.16 GB, free: 21.97 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003031/0.006255, allocations: 425.9 kB / 1.16 GB, free: 21.77 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003162/0.006571, allocations: 283 kB / 1.16 GB, free: 21.55 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0004772/0.007048, allocations: 0.6637 MB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.484e-05/0.007063, allocations: 17.3 kB / 1.161 GB, free: 21.21 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 7.78e-05/0.007141, allocations: 100.8 kB / 1.161 GB, free: 21.15 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0005649/0.007706, allocations: 0.5332 MB / 1.162 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.135e-05/0.007717, allocations: 10.47 kB / 1.162 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.007717, allocations: 0.7188 kB / 1.162 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.619e-06/0.007722, allocations: 1.125 kB / 1.162 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.595e-06/0.007725, allocations: 6.188 kB / 1.162 GB, free: 21.05 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.711e-06/0.00773, allocations: 5.062 kB / 1.162 GB, free: 21.05 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001598/0.00789, allocations: 100.8 kB / 1.162 GB, free: 21.02 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.462e-06/0.007897, allocations: 1.125 kB / 1.162 GB, free: 21.02 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: ......... 1 * 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: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 21 (13) {numReq.y, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_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: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:1, 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: ............ 2 (algorithm:2, when:0, 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: Performance of backend: time 3.166e-05/0.007928, allocations: 22.33 kB / 1.162 GB, free: 21 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005284/0.008457, allocations: 439.7 kB / 1.162 GB, free: 20.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.004694/0.01315, allocations: 2.136 MB / 1.164 GB, free: 20.5 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,numReq.u[1],numReq.u[2],numReq.y Variables in the result:numReq.kind,numReq.nin,numReq.threShold,numReq.u[1],numReq.u[2],numReq.y,pulse.amplitude,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time [Calling sys.exit(0), Time elapsed: 7.443137241061777]