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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_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.001008/0.001009, allocations: 112.2 kB / 16.43 MB, free: 6.496 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.0009734/0.0009734, allocations: 183.8 kB / 17.35 MB, free: 5.754 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.211/1.211, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.316/2.316, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.427e-05, allocations: 2.281 kB / 1.055 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001306/0.001332, allocations: 0.6335 MB / 1.055 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.002174, allocations: 0.8156 MB / 1.056 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.002213, allocations: 4 kB / 1.056 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.002241, allocations: 0 / 1.056 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.64e-05/0.002303, allocations: 3.938 kB / 1.056 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.002441, allocations: 19.98 kB / 1.056 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.002516, allocations: 23.92 kB / 1.056 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.002614, allocations: 11.98 kB / 1.056 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.002673, allocations: 11.92 kB / 1.056 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.002722, allocations: 11.98 kB / 1.056 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.002743, allocations: 11.88 kB / 1.056 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.002761, allocations: 4 kB / 1.056 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of combineBinaries: time 6.456e-05/0.00283, allocations: 27.73 kB / 1.056 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.227e-05/0.002847, allocations: 23.66 kB / 1.056 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.00287, allocations: 8 kB / 1.056 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.365e-05/0.002887, allocations: 3.938 kB / 1.056 GB, free: 6.191 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0002943/0.003186, allocations: 232.7 kB / 1.056 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 7.123e-05/0.003262, allocations: 27.86 kB / 1.056 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of Early Inline: time 9.346e-05/0.003362, allocations: 100.3 kB / 1.057 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simplify1: time 1.908e-05/0.003388, allocations: 11.98 kB / 1.057 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002428/0.003636, allocations: 116.9 kB / 1.057 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simplify2: time 9.819e-06/0.003654, allocations: 4 kB / 1.057 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of Events: time 6.93e-05/0.003727, allocations: 39.86 kB / 1.057 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of Detect States: time 6.999e-05/0.003804, allocations: 52.16 kB / 1.057 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.676e-05/0.003867, allocations: 40.11 kB / 1.057 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001904/0.004064, allocations: 156 kB / 1.057 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 9.982e-05/0.004171, allocations: 120.4 kB / 1.057 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001432/0.00432, allocations: 164.3 kB / 1.057 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.252e-05/0.004338, allocations: 12.12 kB / 1.057 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.095e-05/0.004354, allocations: 7.984 kB / 1.057 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001923/0.004552, allocations: 168.7 kB / 1.057 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of Tearing: time 9.207e-06/0.004569, allocations: 3.984 kB / 1.057 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of Initialization: time 2.755e-06/0.004576, allocations: 0 / 1.057 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of Tearing: time 9.52e-07/0.004582, allocations: 7.875 kB / 1.057 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of Categorize: time 5.871e-06/0.004591, allocations: 0 / 1.057 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of Solve: time 4.638e-05/0.004641, allocations: 19.98 kB / 1.057 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.396e-06/0.00465, allocations: 0 / 1.057 GB, free: 4.652 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: ......... 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.983e-05/0.004683, allocations: 16.08 kB / 1.057 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0004269/0.005114, allocations: 0.794 MB / 1.058 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of Templates: time 0.002258/0.00738, allocations: 440.5 kB / 1.059 GB, free: 3.398 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) 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) Reference file matches