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.001121/0.001121, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001197/0.001197, allocations: 210.3 kB / 23.01 MB, free: 4.93 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.253/1.253, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 179] 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.738/2.738, allocations: 0.49 GB / 0.7958 GB, free: 35.47 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.161e-05/1.161e-05, allocations: 6.219 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001205/0.001217, allocations: 0.6005 MB / 1.156 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002219, allocations: 1.127 MB / 1.157 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.002257, allocations: 2.438 kB / 1.157 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.002277, allocations: 4.5 kB / 1.157 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.002325, allocations: 8.5 kB / 1.157 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.002685, allocations: 124.1 kB / 1.157 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.002817, allocations: 93.59 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.898e-05/0.002886, allocations: 7.281 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.002939, allocations: 30.23 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.003009, allocations: 34.58 kB / 1.157 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.003034, allocations: 9.531 kB / 1.157 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.003088, allocations: 24.42 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.591e-05/0.003164, allocations: 98 kB / 1.157 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.392e-05/0.003178, allocations: 34.03 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.003202, allocations: 7.156 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.695e-06/0.003209, allocations: 1.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.0003767/0.003586, allocations: 383.9 kB / 1.158 GB, free: 23.69 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 2.571e-05/0.003612, allocations: 20.94 kB / 1.158 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002743/0.003886, allocations: 290.1 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001276/0.004014, allocations: 162.9 kB / 1.158 GB, free: 23.36 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002855/0.004299, allocations: 220.3 kB / 1.158 GB, free: 23.16 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001273/0.004426, allocations: 159 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.402e-05/0.00452, allocations: 116.4 kB / 1.158 GB, free: 22.95 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001724/0.004693, allocations: 171.2 kB / 1.159 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 4.398e-05/0.004737, allocations: 29.27 kB / 1.159 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.892e-05/0.004796, allocations: 42.42 kB / 1.159 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 9.626e-05/0.004892, allocations: 59 kB / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001524/0.005044, allocations: 192.8 kB / 1.159 GB, free: 22.63 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002316/0.005276, allocations: 248.5 kB / 1.159 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001775/0.005453, allocations: 251.8 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.005e-06/0.005461, allocations: 10.28 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.235e-05/0.005504, allocations: 46.12 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001725/0.005676, allocations: 116.8 kB / 1.16 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 7.725e-06/0.005684, allocations: 2.188 kB / 1.16 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.7e-07/0.005684, allocations: 0 / 1.16 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.098e-06/0.005688, allocations: 5.062 kB / 1.16 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.964e-06/0.00569, allocations: 3.156 kB / 1.16 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.288e-06/0.005695, allocations: 0 / 1.16 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.755e-05/0.005742, allocations: 21.77 kB / 1.16 GB, free: 22.21 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.593e-06/0.005749, allocations: 9.031 kB / 1.16 GB, free: 22.2 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.494e-05/0.005774, allocations: 20.11 kB / 1.16 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003355/0.006109, allocations: 262.6 kB / 1.16 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.003024/0.009134, allocations: 1.131 MB / 1.161 GB, free: 21.87 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 7.131276493892074]