Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001596/0.001596, 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.001907/0.001907, allocations: 215.5 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.349/1.349, allocations: 230.6 MB / 256.9 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.882/2.882, allocations: 0.4893 GB / 0.7952 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.671e-05, allocations: 2.281 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001366/0.001383, allocations: 0.5975 MB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002424, allocations: 1.134 MB / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.002464, allocations: 5.031 kB / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.002488, allocations: 1.031 kB / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.002534, allocations: 7.719 kB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.002901, allocations: 125 kB / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.003034, allocations: 93.47 kB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.664e-05/0.003101, allocations: 18.91 kB / 1.156 GB, free: 24.17 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.003155, allocations: 27.22 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.502e-05/0.00322, allocations: 32.78 kB / 1.156 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.003241, allocations: 9.312 kB / 1.156 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.003292, allocations: 16.8 kB / 1.156 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.57e-05/0.003368, allocations: 102.8 kB / 1.157 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.352e-05/0.003382, allocations: 32.28 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.003407, allocations: 6.375 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.226e-06/0.003415, allocations: 4.125 kB / 1.157 GB, free: 24.06 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.0003764/0.003792, allocations: 387.1 kB / 1.157 GB, free: 23.69 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 2.393e-05/0.003816, allocations: 20.44 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002651/0.004081, allocations: 291.2 kB / 1.157 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001173/0.004198, allocations: 148.8 kB / 1.157 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003033/0.004501, allocations: 231.7 kB / 1.158 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001157/0.004617, allocations: 146.1 kB / 1.158 GB, free: 23.06 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.204e-05/0.004709, allocations: 116.7 kB / 1.158 GB, free: 22.97 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001741/0.004883, allocations: 171.3 kB / 1.158 GB, free: 22.81 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 4.278e-05/0.004926, allocations: 16.12 kB / 1.158 GB, free: 22.8 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 6.044e-05/0.004986, allocations: 40.3 kB / 1.158 GB, free: 22.78 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001022/0.005089, allocations: 65 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001568/0.005246, allocations: 196 kB / 1.158 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002347/0.00548, allocations: 241.4 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001921/0.005672, allocations: 247.9 kB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.935e-06/0.00568, allocations: 16.98 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.51e-05/0.005715, allocations: 44.92 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001798/0.005895, allocations: 107.5 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 7.194e-06/0.005902, allocations: 1.219 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.005903, allocations: 0.9375 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.282e-05/0.005915, allocations: 18.45 kB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 2.785e-06/0.005918, allocations: 4.562 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.082e-06/0.005919, allocations: 2.875 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.729e-06/0.005924, allocations: 5.406 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.741e-05/0.005971, allocations: 26.95 kB / 1.159 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.991e-06/0.005977, allocations: 4.188 kB / 1.159 GB, free: 22.21 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.694e-05/0.006004, allocations: 16.67 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003574/0.006362, allocations: 246.2 kB / 1.159 GB, free: 22.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.003104/0.009466, allocations: 1.085 MB / 1.16 GB, free: 21.89 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.550960044027306]