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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001227/0.001227, allocations: 111.2 kB / 16.43 MB, free: 6.461 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.001279/0.001279, allocations: 183.2 kB / 17.36 MB, free: 5.73 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.302/2.302, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.245e-05, allocations: 2.281 kB / 1.055 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002487/0.002518, allocations: 1.53 MB / 1.056 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.00331, allocations: 458.8 kB / 1.057 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.003407, allocations: 0 / 1.057 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.547e-05/0.00351, allocations: 3.938 kB / 1.057 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.003602, allocations: 15.88 kB / 1.057 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.003822, allocations: 35.89 kB / 1.057 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.003998, allocations: 91.75 kB / 1.057 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004115, allocations: 24.17 kB / 1.057 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.004249, allocations: 35.86 kB / 1.057 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.004346, allocations: 43.81 kB / 1.057 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.004378, allocations: 4 kB / 1.057 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.004402, allocations: 8 kB / 1.057 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001129/0.004519, allocations: 114.7 kB / 1.057 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.663e-05/0.004563, allocations: 59.12 kB / 1.057 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.004609, allocations: 15.94 kB / 1.057 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.923e-05/0.004633, allocations: 0 / 1.057 GB, free: 5.375 MB / 0.8262 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.0004997/0.005137, allocations: 443.3 kB / 1.057 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 7.357e-05/0.005219, allocations: 31.88 kB / 1.057 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002505/0.005475, allocations: 232.2 kB / 1.058 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of simplify1: time 2.702e-05/0.00551, allocations: 11.98 kB / 1.058 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003562/0.005871, allocations: 188.7 kB / 1.058 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simplify2: time 2.765e-05/0.005909, allocations: 15.97 kB / 1.058 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of Events: time 0.0001435/0.006058, allocations: 63.88 kB / 1.058 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001968/0.006262, allocations: 116.1 kB / 1.058 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001194/0.006392, allocations: 83.97 kB / 1.058 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003477/0.006746, allocations: 255.9 kB / 1.058 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0002389/0.006993, allocations: 260.2 kB / 1.059 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of Inline: time 0.0004216/0.007422, allocations: 368.1 kB / 1.059 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.766e-05/0.007459, allocations: 24.06 kB / 1.059 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of Cleanup: time 3.095e-05/0.007497, allocations: 19.97 kB / 1.059 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0004423/0.007944, allocations: 338.9 kB / 1.059 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of Tearing: time 7.995e-06/0.007961, allocations: 0 / 1.059 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of Initialization: time 6.61e-07/0.007966, allocations: 0 / 1.059 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of Tearing: time 2.364e-06/0.007973, allocations: 0 / 1.059 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of Categorize: time 6.862e-06/0.007986, allocations: 4 kB / 1.059 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of Solve: time 0.0001049/0.008095, allocations: 47.84 kB / 1.059 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of Jacobian: time 4.068e-06/0.008106, allocations: 0 / 1.059 GB, free: 2.645 MB / 0.8262 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 4.372e-05/0.008153, allocations: 24.03 kB / 1.059 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0007254/0.008883, allocations: 0.9061 MB / 1.06 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of Templates: time 0.003331/0.01222, allocations: 0.9945 MB / 1.061 GB, free: 0.7031 MB / 0.8262 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