Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001215/0.001215, allocations: 96.42 kB / 19.71 MB, free: 2.125 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.00126/0.00126, allocations: 211.5 kB / 23.01 MB, free: 4.926 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.278/1.278, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.779/2.779, allocations: 0.49 GB / 0.7958 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.609e-05, allocations: 2.281 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001268/0.001284, allocations: 0.6319 MB / 1.156 GB, free: 24.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.002002, allocations: 0.8382 MB / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.002029, allocations: 3.938 kB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.002052, allocations: 3.938 kB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.659e-05/0.002099, allocations: 4.25 kB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.002219, allocations: 25.86 kB / 1.156 GB, free: 24.26 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.002284, allocations: 26.31 kB / 1.156 GB, free: 24.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.67e-05/0.00237, allocations: 5.609 kB / 1.156 GB, free: 24.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.002414, allocations: 14.75 kB / 1.157 GB, free: 24.24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.002455, allocations: 15.23 kB / 1.157 GB, free: 24.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.00247, allocations: 2.406 kB / 1.157 GB, free: 24.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.002478, allocations: 3.219 kB / 1.157 GB, free: 24.23 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.119e-05/0.002529, allocations: 47.08 kB / 1.157 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 9.698e-06/0.002539, allocations: 26.62 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.267e-05/0.002551, allocations: 2.469 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.012e-05/0.002562, allocations: 1.062 kB / 1.157 GB, free: 24.18 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 [SIM] Bindings: time 0.0002707/0.002832, allocations: 256.2 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.71e-05/0.002919, allocations: 53.78 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 7.94e-05/0.002999, allocations: 109.7 kB / 1.157 GB, free: 23.74 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.95e-05/0.003058, allocations: 78.2 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000251/0.003309, allocations: 151.7 kB / 1.157 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.965e-05/0.003359, allocations: 76.19 kB / 1.157 GB, free: 23.37 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.193e-05/0.003381, allocations: 40.14 kB / 1.157 GB, free: 23.31 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 5.524e-05/0.003436, allocations: 98 kB / 1.157 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.266e-05/0.003499, allocations: 27.45 kB / 1.157 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.877e-05/0.003578, allocations: 59.88 kB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001524/0.00373, allocations: 123.6 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 6.891e-05/0.003799, allocations: 88.83 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001/0.003899, allocations: 126.6 kB / 1.158 GB, free: 22.9 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 8.959e-05/0.003988, allocations: 136.4 kB / 1.158 GB, free: 22.82 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.786e-06/0.003997, allocations: 11.52 kB / 1.158 GB, free: 22.81 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.088e-05/0.004018, allocations: 25.64 kB / 1.158 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001768/0.004195, allocations: 135 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.043e-05/0.004205, allocations: 5.312 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.042e-06/0.004206, allocations: 5.219 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 2.966e-06/0.004209, allocations: 0 / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.014e-06/0.004211, allocations: 5.312 kB / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.58e-06/0.004217, allocations: 5.375 kB / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.381e-05/0.004301, allocations: 49.53 kB / 1.158 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.444e-06/0.004308, allocations: 5 kB / 1.158 GB, free: 22.72 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.761e-05/0.004336, allocations: 22.14 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000262/0.004598, allocations: 203.6 kB / 1.158 GB, free: 22.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.002349/0.006947, allocations: 463.7 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.1412420980632305]