Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00143/0.001431, allocations: 110 kB / 16.42 MB, free: 6.523 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.001527/0.001527, allocations: 185.9 kB / 17.36 MB, free: 5.746 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437 MB / 0.7111 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.649e-05, allocations: 2.281 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001728/0.001768, allocations: 0.6251 MB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.002903, allocations: 0.8249 MB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.002955, allocations: 0 / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.002995, allocations: 0 / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.003071, allocations: 7.938 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.003247, allocations: 11.98 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.003339, allocations: 27.92 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.003459, allocations: 11.98 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.003527, allocations: 11.92 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.003588, allocations: 11.98 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.003612, allocations: 0 / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.00363, allocations: 4 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of combineBinaries: time 5.886e-05/0.003693, allocations: 31.67 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.539e-05/0.003725, allocations: 31.66 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.003747, allocations: 0 / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.735e-05/0.003769, allocations: 0 / 1.021 GB, free: 7.871 MB / 0.795 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.0003166/0.00409, allocations: 236.7 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of FunctionAlias: time 7.713e-05/0.004173, allocations: 23.94 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001096/0.004289, allocations: 104.3 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of simplify1: time 2.242e-05/0.004318, allocations: 11.98 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of Alias: time 0.0002751/0.004598, allocations: 128.9 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of simplify2: time 1.117e-05/0.004619, allocations: 0 / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of Detect States: time 7.842e-05/0.004702, allocations: 48.12 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of Events: time 8.239e-05/0.004791, allocations: 35.91 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of Partitioning: time 5.885e-05/0.004856, allocations: 44.11 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002051/0.005067, allocations: 144 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001036/0.00518, allocations: 116.3 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of Inline: time 0.0001571/0.005343, allocations: 164.4 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of Partitioning: time 1.412e-05/0.005363, allocations: 12.06 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of Cleanup: time 1.179e-05/0.005382, allocations: 15.98 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002174/0.005604, allocations: 172.5 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of Tearing: time 9.227e-06/0.005622, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of Initialization: time 3.7e-07/0.005627, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of Tearing: time 5.37e-06/0.005636, allocations: 3.938 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of Categorize: time 6.362e-06/0.005646, allocations: 0 / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of Solve: time 4.704e-05/0.005697, allocations: 15.98 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of Jacobian: time 3.166e-06/0.005706, allocations: 0 / 1.022 GB, free: 6.34 MB / 0.795 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 4.003e-05/0.00575, allocations: 25.59 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of SimCode: time 0.0005425/0.006297, allocations: 0.8021 MB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of Templates: time 0.002384/0.00869, allocations: 437.8 kB / 1.023 GB, free: 5.074 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches