Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001536/0.001536, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001647/0.001647, allocations: 212.2 kB / 23.06 MB, free: 4.988 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.376/1.376, allocations: 230.7 MB / 256.9 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.074/3.074, allocations: 0.5108 GB / 0.8167 GB, free: 17.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.057e-05, allocations: 6.219 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001575/0.001595, allocations: 0.602 MB / 1.188 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.002869, allocations: 1.13 MB / 1.189 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.002907, allocations: 1.562 kB / 1.189 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.002935, allocations: 4.438 kB / 1.189 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.003003, allocations: 12.84 kB / 1.189 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.003454, allocations: 119.4 kB / 1.189 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.003601, allocations: 92.27 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.003685, allocations: 4.812 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.003752, allocations: 37.58 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.003838, allocations: 28.45 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.003863, allocations: 7.094 kB / 1.189 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.481e-05/0.003927, allocations: 27.73 kB / 1.189 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001064/0.004034, allocations: 92.84 kB / 1.189 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.966e-05/0.004054, allocations: 35 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.004093, allocations: 10.38 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.29e-05/0.004106, allocations: 5.375 kB / 1.189 GB, free: 12.04 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.0005027/0.004609, allocations: 377.8 kB / 1.19 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.169e-05/0.00465, allocations: 27.53 kB / 1.19 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003433/0.004994, allocations: 290.2 kB / 1.19 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001586/0.005152, allocations: 152.6 kB / 1.19 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003723/0.005524, allocations: 232.1 kB / 1.19 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001466/0.005671, allocations: 147.8 kB / 1.19 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001143/0.005785, allocations: 108.6 kB / 1.191 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002144/0.006, allocations: 170.8 kB / 1.191 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 5.545e-05/0.006055, allocations: 32.16 kB / 1.191 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.603e-05/0.006131, allocations: 35 kB / 1.191 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001154/0.006247, allocations: 55.23 kB / 1.191 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001964/0.006443, allocations: 201.5 kB / 1.191 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002818/0.006725, allocations: 238.4 kB / 1.191 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002262/0.006951, allocations: 245.8 kB / 1.191 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.047e-05/0.006962, allocations: 11.89 kB / 1.191 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.463e-05/0.007006, allocations: 45.73 kB / 1.192 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002002/0.007206, allocations: 104.6 kB / 1.192 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.141e-05/0.007218, allocations: 6.344 kB / 1.192 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 2.9e-07/0.007218, allocations: 0 / 1.192 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.589e-05/0.007234, allocations: 18.41 kB / 1.192 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.387e-06/0.007237, allocations: 0 / 1.192 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.635e-06/0.00724, allocations: 6.125 kB / 1.192 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.44e-06/0.007245, allocations: 4.688 kB / 1.192 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 5.303e-05/0.007299, allocations: 25.69 kB / 1.192 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.195e-06/0.007307, allocations: 1.031 kB / 1.192 GB, free: 10.19 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 3.763e-05/0.007344, allocations: 19.73 kB / 1.192 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004559/0.0078, allocations: 250.6 kB / 1.192 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.00375/0.01155, allocations: 1.09 MB / 1.193 GB, free: 9.871 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.09788459900301]