Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001941/0.001941, allocations: 92.33 kB / 20.22 MB, free: 1.051 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.002452/0.002452, allocations: 161.3 kB / 23.53 MB, free: 3.859 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.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 8.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.391/3.391, allocations: 428.5 MB / 0.6727 GB, free: 9.688 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.09e-05, allocations: 2.312 kB / 0.877 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002692/0.002713, allocations: 1.57 MB / 0.8786 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009547/0.003667, allocations: 485.3 kB / 0.879 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.003725, allocations: 0 / 0.879 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.003825, allocations: 7.922 kB / 0.879 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.695e-05/0.003892, allocations: 27.73 kB / 0.8791 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.004129, allocations: 39.88 kB / 0.8791 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.004316, allocations: 105.5 kB / 0.8792 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004419, allocations: 11.98 kB / 0.8792 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.004649, allocations: 68.69 kB / 0.8793 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/0.00473, allocations: 31.89 kB / 0.8793 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.004754, allocations: 4.688 kB / 0.8793 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.269e-05/0.004796, allocations: 12 kB / 0.8793 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001388/0.004935, allocations: 123.8 kB / 0.8794 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.287e-05/0.004988, allocations: 67.09 kB / 0.8795 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.005025, allocations: 9.375 kB / 0.8795 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.277e-05/0.005037, allocations: 3.984 kB / 0.8795 GB, free: 9.098 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 [SIM] Bindings: time 0.0007222/0.00576, allocations: 473.4 kB / 0.88 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001573/0.005917, allocations: 74.19 kB / 0.88 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of [SIM] Early Inline: time 0.0004314/0.006348, allocations: 365 kB / 0.8804 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001142/0.006463, allocations: 77.97 kB / 0.8805 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of [SIM] Alias: time 0.0004482/0.006911, allocations: 248.5 kB / 0.8807 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of [SIM] Simplify 2: time 9.774e-05/0.007008, allocations: 73.59 kB / 0.8808 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of [SIM] Remove Stream: time 9.488e-05/0.007103, allocations: 74.14 kB / 0.8808 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of [SIM] Detect States: time 0.0002722/0.007376, allocations: 180.9 kB / 0.881 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of [SIM] Events: time 0.0001833/0.007559, allocations: 92.38 kB / 0.8811 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of [SIM] Partitioning: time 0.0002841/0.007843, allocations: 197.9 kB / 0.8813 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of [SIM] Causalize: time 0.0003773/0.00822, allocations: 236.1 kB / 0.8815 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000295/0.008515, allocations: 279.8 kB / 0.8818 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of [INI] Simplify: time 0.0002992/0.008815, allocations: 187.2 kB / 0.882 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of [INI] Inline: time 0.0004955/0.00931, allocations: 499.5 kB / 0.8824 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of [INI] Partitioning: time 2.098e-05/0.009331, allocations: 12.12 kB / 0.8824 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of [INI] Cleanup: time 9.49e-05/0.009426, allocations: 91.91 kB / 0.8825 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of [INI] Causalize: time 0.0004413/0.009867, allocations: 281.7 kB / 0.8828 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of [INI] Tearing: time 1.5e-05/0.009882, allocations: 8 kB / 0.8828 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.009883, allocations: 0 / 0.8828 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of [SIM] Remove Dummies: time 4.689e-06/0.009887, allocations: 0 / 0.8828 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of [SIM] Tearing: time 1.811e-05/0.009905, allocations: 12.94 kB / 0.8828 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of [SIM] Categorize: time 1.004e-05/0.009915, allocations: 4 kB / 0.8828 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of [SIM] Solve: time 0.0001866/0.0101, allocations: 93 kB / 0.8829 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of [SIM] Jacobian: time 1.045e-05/0.01011, allocations: 4 kB / 0.8829 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.31e-07/0.01011, allocations: 1.031 kB / 0.8829 GB, free: 5.172 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: ......... 2 * 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: ................. 9 (7) {reqCou.nInc, $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: ........... 12 (scalar:12, 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: ........... 15 (scalar:15, 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.862e-05/0.01015, allocations: 20.72 kB / 0.8829 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0007336/0.01089, allocations: 432.8 kB / 0.8834 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of Templates: time 0.004435/0.01532, allocations: 1.277 MB / 0.8846 GB, free: 3.492 MB / 0.8262 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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: 8.63847216591239]