Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) 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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 108.9 kB / 16.42 MB, free: 6.469 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.001086/0.001086, allocations: 188.3 kB / 17.36 MB, free: 5.691 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.126/1.126, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.182/2.182, allocations: 469.8 MB / 0.7431 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.435e-05, allocations: 2.281 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001201/0.001226, allocations: 0.6325 MB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.001998, allocations: 0.8195 MB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.002034, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.002056, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.002108, allocations: 7.938 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.002221, allocations: 15.92 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.711e-05/0.002285, allocations: 19.98 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.771e-05/0.002358, allocations: 7.984 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.002406, allocations: 15.94 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.002448, allocations: 15.97 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.00247, allocations: 4 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-06/0.002482, allocations: 3.938 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of combineBinaries: time 5.103e-05/0.002537, allocations: 39.58 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 8.496e-06/0.00255, allocations: 15.75 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.336e-05/0.002567, allocations: 8 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.136e-05/0.002583, allocations: 4 kB / 1.067 GB, free: 11.97 MB / 0.8419 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.0002294/0.002817, allocations: 212.7 kB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.011e-05/0.002883, allocations: 23.88 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of Early Inline: time 8.123e-05/0.00297, allocations: 88.31 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simplify1: time 3.52e-05/0.00301, allocations: 40.42 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of Alias: time 0.0001942/0.003209, allocations: 108.6 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simplify2: time 3.142e-05/0.003249, allocations: 44.42 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of Detect States: time 5.218e-05/0.003306, allocations: 38.98 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Events: time 6.003e-05/0.003371, allocations: 32.09 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.236e-05/0.003421, allocations: 36.11 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001503/0.003576, allocations: 120.1 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 8.307e-05/0.003667, allocations: 104.3 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001063/0.003778, allocations: 140.3 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.1e-05/0.003794, allocations: 12.12 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.512e-05/0.003823, allocations: 19.97 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001525/0.003979, allocations: 136.5 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of Tearing: time 7.614e-06/0.003995, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of Initialization: time 3.01e-07/0.004, allocations: 3.938 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of Tearing: time 3.136e-06/0.004008, allocations: 8 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of Categorize: time 4.849e-06/0.004017, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of Solve: time 3.679e-05/0.004057, allocations: 15.98 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.395e-06/0.004065, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {reaToInt.y, $SEV_0, $TEV_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: ........... 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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.787e-05/0.004096, allocations: 29.33 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0003787/0.004479, allocations: 0.7998 MB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of Templates: time 0.001801/0.006289, allocations: 431.6 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches