Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.001783/0.001783, 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.002795/0.002795, allocations: 212 kB / 23.01 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.411/3.411, allocations: 0.49 GB / 0.7958 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.59e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002726/0.002752, allocations: 1.53 MB / 1.156 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009831/0.003735, allocations: 494.8 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.003805, allocations: 5.188 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 9.972e-05/0.003904, allocations: 5.281 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.003958, allocations: 18.17 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.00424, allocations: 37.72 kB / 1.157 GB, free: 23.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.004434, allocations: 113.8 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.004562, allocations: 13.73 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.004743, allocations: 52.48 kB / 1.157 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.004829, allocations: 42.34 kB / 1.157 GB, free: 23.74 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.004855, allocations: 7.438 kB / 1.157 GB, free: 23.74 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.972e-05/0.004904, allocations: 8.281 kB / 1.157 GB, free: 23.74 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000139/0.005043, allocations: 140.5 kB / 1.157 GB, free: 23.65 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.079e-05/0.005084, allocations: 79.91 kB / 1.157 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.005121, allocations: 5.781 kB / 1.157 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.206e-05/0.005133, allocations: 1.125 kB / 1.157 GB, free: 23.6 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: 10 (10) * Number of variables: 10 (8) Notification: Performance of [SIM] Bindings: time 0.0006112/0.005744, allocations: 483 kB / 1.158 GB, free: 23.16 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.083e-05/0.005815, allocations: 57.73 kB / 1.158 GB, free: 23.11 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003054/0.00612, allocations: 293.1 kB / 1.158 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001112/0.006232, allocations: 106.5 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003888/0.00662, allocations: 246.4 kB / 1.159 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001038/0.006724, allocations: 111.1 kB / 1.159 GB, free: 22.5 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 6.939e-05/0.006794, allocations: 74.38 kB / 1.159 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002192/0.007013, allocations: 157.3 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001539/0.007167, allocations: 59.73 kB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001949/0.007362, allocations: 115.6 kB / 1.159 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003495/0.007711, allocations: 192 kB / 1.159 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002378/0.007949, allocations: 254.5 kB / 1.16 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002942/0.008243, allocations: 207.7 kB / 1.16 GB, free: 21.82 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003587/0.008602, allocations: 394.7 kB / 1.16 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.71e-05/0.008619, allocations: 20.31 kB / 1.16 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.565e-05/0.008675, allocations: 52.16 kB / 1.16 GB, free: 21.57 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004006/0.009075, allocations: 266.1 kB / 1.16 GB, free: 21.5 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.533e-05/0.00909, allocations: 10.78 kB / 1.16 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.009091, allocations: 0 / 1.16 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.278e-06/0.009095, allocations: 4 kB / 1.16 GB, free: 21.48 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.528e-06/0.0091, allocations: 7.031 kB / 1.16 GB, free: 21.48 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.145e-06/0.009108, allocations: 1.062 kB / 1.16 GB, free: 21.48 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001838/0.009292, allocations: 97.23 kB / 1.161 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 1.17e-05/0.009303, allocations: 0.9375 kB / 1.161 GB, free: 21.45 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) {act1.T_start, act1.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (6) {reqCou.nInc, $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: ........... 10 (scalar:10, 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: ........... 13 (scalar:13, 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 4.859e-05/0.009352, allocations: 41.97 kB / 1.161 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006949/0.01005, allocations: 346.6 kB / 1.161 GB, free: 21.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.005431/0.01548, allocations: 1.21 MB / 1.162 GB, free: 21.05 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,act1.y,act2.y,act3.y,reqCou.nInc Variables in the result:act1.amplitude,act1.nperiod,act1.offset,act1.period,act1.startTime,act1.width,act1.y,act2.amplitude,act2.continuous,act2.f,act2.offset,act2.phase,act2.startTime,act2.y,act3.k,act3.y,reqCou.nAct,reqCou.nInc,reqCou.uTri,time [Calling sys.exit(0), Time elapsed: 9.625576172955334]