Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 104.9 kB / 16.42 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 188.3 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.362/2.362, allocations: 472.6 MB / 0.7459 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.674e-05, allocations: 4.953 kB / 1.07 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002554/0.002589, allocations: 1.525 MB / 1.072 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008161/0.003416, allocations: 454.8 kB / 1.072 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.003506, allocations: 3.938 kB / 1.072 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.003619, allocations: 3.938 kB / 1.072 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.003684, allocations: 11.86 kB / 1.072 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.00394, allocations: 43.89 kB / 1.072 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.004121, allocations: 83.83 kB / 1.072 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.004243, allocations: 28.16 kB / 1.072 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.004392, allocations: 39.8 kB / 1.072 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.004489, allocations: 35.83 kB / 1.072 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.004525, allocations: 8 kB / 1.072 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.004548, allocations: 8 kB / 1.072 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000113/0.004665, allocations: 118.7 kB / 1.072 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.882e-05/0.0047, allocations: 59.03 kB / 1.072 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.004742, allocations: 15.94 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.037e-05/0.004767, allocations: 0 / 1.072 GB, free: 7.254 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: 10 (10) * Number of variables: 10 (8) Notification: Performance of Bindings: time 0.0005422/0.005316, allocations: 435.5 kB / 1.073 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.402e-05/0.005406, allocations: 23.94 kB / 1.073 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002282/0.00564, allocations: 240.1 kB / 1.073 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of simplify1: time 2.643e-05/0.005675, allocations: 19.98 kB / 1.073 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of Alias: time 0.0003361/0.006016, allocations: 184.7 kB / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of simplify2: time 2.058e-05/0.006045, allocations: 19.95 kB / 1.073 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001712/0.006222, allocations: 112.1 kB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of Events: time 0.0001184/0.006348, allocations: 55.91 kB / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.905e-05/0.006444, allocations: 68.11 kB / 1.074 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003079/0.006758, allocations: 255.9 kB / 1.074 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002154/0.006982, allocations: 268.2 kB / 1.074 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003423/0.007331, allocations: 360.2 kB / 1.074 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.335e-05/0.007362, allocations: 28.09 kB / 1.074 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.53e-05/0.007392, allocations: 19.98 kB / 1.074 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003819/0.00778, allocations: 341.7 kB / 1.075 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of Tearing: time 9.177e-06/0.007798, allocations: 0 / 1.075 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of Initialization: time 8.91e-07/0.007803, allocations: 0 / 1.075 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of Tearing: time 1.804e-06/0.007809, allocations: 0 / 1.075 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of Categorize: time 1.076e-05/0.007823, allocations: 3.984 kB / 1.075 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of Solve: time 8.973e-05/0.007917, allocations: 51.89 kB / 1.075 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.995e-06/0.007927, allocations: 0 / 1.075 GB, free: 4.539 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: ......... 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.count, act1.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {reqCou.nInc, $SEV_3, $SEV_2, $SEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:11, 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 (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: ........... 14 (scalar:14, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.728e-05/0.007968, allocations: 27.14 kB / 1.075 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0006382/0.008612, allocations: 0.9149 MB / 1.076 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.003028/0.01165, allocations: 0.9973 MB / 1.077 GB, free: 2.586 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches