Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.001653/0.001653, allocations: 108.3 kB / 19.72 MB, free: 2.137 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.001719/0.001719, allocations: 210.9 kB / 23 MB, free: 4.957 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.255/3.255, allocations: 0.505 GB / 0.8108 GB, free: 23.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.247e-05, allocations: 2.281 kB / 1.178 GB, free: 16.53 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003141/0.003163, allocations: 2.203 MB / 1.18 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.00458, allocations: 0.9041 MB / 1.181 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.004747, allocations: 11.78 kB / 1.181 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.004921, allocations: 53.83 kB / 1.181 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.005056, allocations: 61.3 kB / 1.181 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.005973, allocations: 446.5 kB / 1.182 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006227/0.006595, allocations: 0.6735 MB / 1.182 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.00689, allocations: 179.5 kB / 1.182 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.007102, allocations: 232.9 kB / 1.183 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.007331, allocations: 224.2 kB / 1.183 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.007425, allocations: 71.31 kB / 1.183 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.007559, allocations: 83.64 kB / 1.183 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004868/0.008046, allocations: 0.8424 MB / 1.184 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002014/0.008247, allocations: 481.4 kB / 1.184 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.008342, allocations: 35.59 kB / 1.184 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.049e-05/0.008402, allocations: 25.09 kB / 1.184 GB, free: 12.41 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: 79 (79) * Number of variables: 79 (79) Notification: Performance of [SIM] Bindings: time 0.001823/0.01022, allocations: 2.029 MB / 1.186 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001804/0.01041, allocations: 169.7 kB / 1.186 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.00153/0.01194, allocations: 1.576 MB / 1.188 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0005887/0.01252, allocations: 496 kB / 1.188 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002642/0.01517, allocations: 2.056 MB / 1.19 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.000421/0.01559, allocations: 410.8 kB / 1.191 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0003015/0.01589, allocations: 336.5 kB / 1.191 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000526/0.01641, allocations: 0.5193 MB / 1.192 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001556/0.01657, allocations: 113.5 kB / 1.192 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002715/0.01684, allocations: 227.8 kB / 1.192 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0006823/0.01752, allocations: 0.5111 MB / 1.193 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008457/0.01837, allocations: 0.9341 MB / 1.193 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001191/0.01956, allocations: 0.9622 MB / 1.194 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.00122/0.02078, allocations: 1.373 MB / 1.196 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 5.272e-05/0.02083, allocations: 32.06 kB / 1.196 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.000184/0.02102, allocations: 226.3 kB / 1.196 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001673/0.02269, allocations: 1.243 MB / 1.197 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.478e-05/0.02272, allocations: 42.34 kB / 1.197 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.42e-07/0.02272, allocations: 0 / 1.197 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.01e-05/0.02273, allocations: 5.25 kB / 1.197 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 9.708e-06/0.02274, allocations: 17.31 kB / 1.197 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.426e-06/0.02274, allocations: 1.469 kB / 1.197 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003997/0.02314, allocations: 305.2 kB / 1.198 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.227e-06/0.02315, allocations: 1.219 kB / 1.198 GB, free: 4.797 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: .................... 6 (6) {tunEnd.y, tunSta.y, tOff.booPul.y, tOnSig2.booPul.y, tOnSig1.booPul.y, tunMan.sub.u2} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 21 (21) {tunMan.samAddtOntOff.trigger, tunMan.tCha.u1, tunMan.tCha.u2, tunMan.tCha.y, tunMan.edgTunSta.u, tunMan.edgTunEnd.u, tunSta.u, tunEnd.u, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $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: ........... 31 (scalar:31, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 69 (scalar:69, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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 0.0001126/0.02327, allocations: 47.2 kB / 1.198 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00182/0.02509, allocations: 1.42 MB / 1.199 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of Templates: time 0.01034/0.03543, allocations: 4.874 MB / 1.204 GB, free: 3.609 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.464146059937775]