Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 250.1 MB, free: 13.49 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 496.1 MB / 0.7826 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.79e-05, allocations: 7.672 kB / 1.136 GB, free: 33.9 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001265/0.001283, allocations: 0.6304 MB / 1.137 GB, free: 33.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0006434/0.001926, allocations: 0.8271 MB / 1.138 GB, free: 32.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.001956, allocations: 1.344 kB / 1.138 GB, free: 32.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.001978, allocations: 0 / 1.138 GB, free: 32.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.002031, allocations: 3.938 kB / 1.138 GB, free: 32.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.00214, allocations: 14.08 kB / 1.138 GB, free: 32.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.002199, allocations: 37.08 kB / 1.138 GB, free: 32.87 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.002276, allocations: 2.469 kB / 1.138 GB, free: 32.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.002317, allocations: 15.41 kB / 1.138 GB, free: 32.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.002354, allocations: 16.45 kB / 1.138 GB, free: 32.85 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.002368, allocations: 2.562 kB / 1.138 GB, free: 32.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.002376, allocations: 3.844 kB / 1.138 GB, free: 32.85 MB / 0.9044 GB Notification: Performance of combineBinaries: time 4.571e-05/0.002422, allocations: 34.5 kB / 1.138 GB, free: 32.83 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 7.364e-06/0.002429, allocations: 23.69 kB / 1.138 GB, free: 32.81 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.181e-05/0.002441, allocations: 1.25 kB / 1.138 GB, free: 32.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.358e-06/0.00245, allocations: 0 / 1.138 GB, free: 32.81 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0002335/0.002684, allocations: 235.8 kB / 1.138 GB, free: 32.52 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 7.161e-05/0.002756, allocations: 30.48 kB / 1.138 GB, free: 32.5 MB / 0.9044 GB Notification: Performance of Early Inline: time 6.616e-05/0.002822, allocations: 82.88 kB / 1.138 GB, free: 32.42 MB / 0.9044 GB Notification: Performance of Simplify 1: time 3.298e-05/0.002855, allocations: 45.69 kB / 1.138 GB, free: 32.36 MB / 0.9044 GB Notification: Performance of Alias: time 0.0002435/0.003098, allocations: 131.7 kB / 1.139 GB, free: 32.21 MB / 0.9044 GB Notification: Performance of Simplify 2: time 2.293e-05/0.003121, allocations: 44.92 kB / 1.139 GB, free: 32.15 MB / 0.9044 GB Notification: Performance of Remove Stream: time 1.73e-05/0.003138, allocations: 38.47 kB / 1.139 GB, free: 32.09 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0002106/0.003349, allocations: 76.66 kB / 1.139 GB, free: 31.99 MB / 0.9044 GB Notification: Performance of Events: time 6.03e-05/0.003409, allocations: 41.77 kB / 1.139 GB, free: 31.96 MB / 0.9044 GB Notification: Performance of Partitioning: time 5.394e-05/0.003463, allocations: 45.27 kB / 1.139 GB, free: 31.93 MB / 0.9044 GB Notification: Performance of Causalize: time 0.0001547/0.003618, allocations: 150.1 kB / 1.139 GB, free: 31.88 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 4.046e-05/0.003658, allocations: 64.2 kB / 1.139 GB, free: 31.84 MB / 0.9044 GB Notification: Performance of Simplify: time 6.92e-05/0.003728, allocations: 106.6 kB / 1.139 GB, free: 31.71 MB / 0.9044 GB Notification: Performance of Inline: time 5.151e-05/0.003779, allocations: 88.67 kB / 1.139 GB, free: 31.66 MB / 0.9044 GB Notification: Performance of Partitioning: time 7.013e-06/0.003786, allocations: 10.88 kB / 1.139 GB, free: 31.65 MB / 0.9044 GB Notification: Performance of Cleanup: time 1.55e-05/0.003802, allocations: 19.48 kB / 1.139 GB, free: 31.64 MB / 0.9044 GB Notification: Performance of Causalize: time 0.0001787/0.00398, allocations: 161.8 kB / 1.139 GB, free: 31.58 MB / 0.9044 GB Notification: Performance of Tearing: time 7.925e-06/0.003988, allocations: 0 / 1.139 GB, free: 31.58 MB / 0.9044 GB Notification: Performance of Initialization: time 2.71e-07/0.003989, allocations: 0 / 1.139 GB, free: 31.58 MB / 0.9044 GB Notification: Performance of Remove Dummies: time 2.725e-06/0.003991, allocations: 0 / 1.139 GB, free: 31.58 MB / 0.9044 GB Notification: Performance of Tearing: time 7.52e-07/0.003992, allocations: 0 / 1.139 GB, free: 31.58 MB / 0.9044 GB Notification: Performance of Categorize: time 6.081e-06/0.003998, allocations: 10.78 kB / 1.139 GB, free: 31.57 MB / 0.9044 GB Notification: Performance of Solve: time 3.761e-05/0.004036, allocations: 19.84 kB / 1.139 GB, free: 31.57 MB / 0.9044 GB Notification: Performance of Jacobian: time 4.448e-06/0.00404, allocations: 0 / 1.139 GB, free: 31.57 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {reaToInt.y, $SEV_0, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 2.502e-05/0.004065, allocations: 20 kB / 1.139 GB, free: 31.55 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0002836/0.004349, allocations: 0.8064 MB / 1.14 GB, free: 30.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.002133/0.006481, allocations: 443.4 kB / 1.141 GB, free: 30.75 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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: 7.406990393064916]