Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00127/0.00127, allocations: 111 kB / 16.42 MB, free: 6.512 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.001389/0.001389, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.396e-05, allocations: 4.672 kB / 0.9514 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.00268/0.002712, allocations: 1.53 MB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000863/0.003587, allocations: 458.9 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.003672, allocations: 0 / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.003782, allocations: 3.938 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.003875, allocations: 19.81 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.004121, allocations: 27.95 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.004318, allocations: 99.69 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.004441, allocations: 24.17 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.004593, allocations: 35.91 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.655e-05/0.004698, allocations: 39.83 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.004731, allocations: 7.938 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.675e-05/0.004753, allocations: 8 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001283/0.004886, allocations: 110.8 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.191e-05/0.004923, allocations: 59.03 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.004964, allocations: 19.94 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.147e-05/0.004991, allocations: 0 / 0.9538 GB, free: 5.277 MB / 0.7325 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.0005492/0.005544, allocations: 443.3 kB / 0.9542 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 7.379e-05/0.005624, allocations: 15.95 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002296/0.005862, allocations: 244.2 kB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of simplify1: time 2.343e-05/0.005891, allocations: 11.98 kB / 0.9545 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of Alias: time 0.0003525/0.00625, allocations: 196.6 kB / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of simplify2: time 2.218e-05/0.006282, allocations: 15.97 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001696/0.006456, allocations: 100.2 kB / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of Events: time 0.0001512/0.006615, allocations: 59.89 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001085/0.006731, allocations: 76.09 kB / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003412/0.007078, allocations: 251.9 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0002437/0.00733, allocations: 264.2 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of Inline: time 0.0004078/0.007744, allocations: 378 kB / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of Partitioning: time 3.088e-05/0.007784, allocations: 24.06 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of Cleanup: time 3.367e-05/0.007823, allocations: 23.98 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0004437/0.008271, allocations: 326.6 kB / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of Tearing: time 1.143e-05/0.008292, allocations: 0 / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of Initialization: time 7.21e-07/0.008297, allocations: 0 / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of Tearing: time 3.286e-06/0.008304, allocations: 0 / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of Categorize: time 8.065e-06/0.008316, allocations: 0 / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of Solve: time 0.0001106/0.00843, allocations: 55.88 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of Jacobian: time 6.261e-06/0.008443, allocations: 3.938 kB / 0.9562 GB, free: 2.562 MB / 0.7325 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.515e-05/0.008482, allocations: 13.44 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0006846/0.009174, allocations: 0.9125 MB / 0.9571 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of Templates: time 0.003353/0.01254, allocations: 0.9982 MB / 0.9581 GB, free: 0.625 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches