Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.001567/0.001567, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001718/0.001718, allocations: 213.1 kB / 23.07 MB, free: 4.844 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.344/1.344, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.519/2.519, allocations: 476 MB / 0.7708 GB, free: 4.648 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.84e-05, allocations: 4.797 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001434/0.001452, allocations: 0.5974 MB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.002532, allocations: 1.135 MB / 1.12 GB, free: 40.94 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.002568, allocations: 0.9844 kB / 1.12 GB, free: 40.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.002592, allocations: 6.344 kB / 1.12 GB, free: 40.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/0.002648, allocations: 5.797 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.003036, allocations: 121.3 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.003161, allocations: 95.75 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.003233, allocations: 8.281 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.003289, allocations: 36.55 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.003356, allocations: 30.8 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.003378, allocations: 8.469 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.073e-05/0.003428, allocations: 17.58 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.57e-05/0.003514, allocations: 101.3 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.433e-05/0.003528, allocations: 36.97 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.00356, allocations: 6.906 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.396e-06/0.003568, allocations: 4.25 kB / 1.12 GB, free: 40.89 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.0003747/0.003943, allocations: 385.1 kB / 1.12 GB, free: 40.59 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 2.727e-05/0.00397, allocations: 27.05 kB / 1.12 GB, free: 40.57 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002488/0.004219, allocations: 288.9 kB / 1.121 GB, free: 40.51 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001044/0.004324, allocations: 139.3 kB / 1.121 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002879/0.004611, allocations: 237.8 kB / 1.121 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001068/0.004718, allocations: 147.9 kB / 1.121 GB, free: 40.18 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 8.046e-05/0.004799, allocations: 109.2 kB / 1.121 GB, free: 40.12 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001564/0.004955, allocations: 175.4 kB / 1.121 GB, free: 40.01 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 4.595e-05/0.005001, allocations: 19.86 kB / 1.122 GB, free: 40.01 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.688e-05/0.005058, allocations: 43.09 kB / 1.122 GB, free: 39.99 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 9.173e-05/0.00515, allocations: 62.06 kB / 1.122 GB, free: 39.96 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000123/0.005273, allocations: 193.9 kB / 1.122 GB, free: 39.96 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002109/0.005483, allocations: 237.4 kB / 1.122 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001574/0.005641, allocations: 253.3 kB / 1.122 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.626e-06/0.005649, allocations: 13.23 kB / 1.122 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.21e-05/0.005682, allocations: 39.22 kB / 1.122 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001653/0.005847, allocations: 111.6 kB / 1.122 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.138e-06/0.005856, allocations: 4.062 kB / 1.122 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.41e-07/0.005856, allocations: 0 / 1.122 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.225e-05/0.005869, allocations: 15.88 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 2.765e-06/0.005871, allocations: 2.188 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.543e-06/0.005873, allocations: 6.844 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.47e-06/0.005878, allocations: 5.812 kB / 1.122 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.746e-05/0.005926, allocations: 24 kB / 1.122 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.362e-06/0.005932, allocations: 3.344 kB / 1.122 GB, free: 39.74 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: .................... 1 (1) {booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {booToInt.y, $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: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.946e-05/0.005962, allocations: 15.47 kB / 1.122 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003492/0.006311, allocations: 253.1 kB / 1.123 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.002963/0.009274, allocations: 1.08 MB / 1.124 GB, free: 39.55 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,booToInt.u,booToInt.y Variables in the result:booPul.period,booPul.shift,booPul.t0,booPul.t1,booPul.width,booPul.y,booToInt.integerFalse,booToInt.integerTrue,booToInt.u,booToInt.y,time [Calling sys.exit(0), Time elapsed: 7.423790887987707]