Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.001452/0.001452, allocations: 104.3 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.001594/0.001594, allocations: 214.5 kB / 23.06 MB, free: 4.984 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.354/1.354, allocations: 230.6 MB / 256.9 MB, free: 7.77 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.896/2.896, allocations: 0.4893 GB / 0.7952 GB, free: 35.46 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.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.562e-05, allocations: 2.281 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001449/0.001465, allocations: 0.6498 MB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.002688, allocations: 1.201 MB / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.002728, allocations: 0 / 1.156 GB, free: 24.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.002755, allocations: 7.906 kB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/0.002814, allocations: 10.66 kB / 1.156 GB, free: 24.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.003376, allocations: 220.2 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.003586, allocations: 176.1 kB / 1.157 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.003677, allocations: 18.83 kB / 1.157 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.003763, allocations: 65.67 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.003859, allocations: 53.34 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.003891, allocations: 14.25 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.003958, allocations: 29.05 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001362/0.004095, allocations: 169.1 kB / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.884e-05/0.004114, allocations: 48.53 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.004148, allocations: 10.66 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.036e-06/0.004157, allocations: 3.938 kB / 1.157 GB, free: 23.91 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.000585/0.004742, allocations: 0.5502 MB / 1.158 GB, free: 23.45 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.429e-05/0.004776, allocations: 40.78 kB / 1.158 GB, free: 23.4 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0005984/0.005375, allocations: 0.5094 MB / 1.158 GB, free: 23.13 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000305/0.00568, allocations: 231 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.00048/0.00616, allocations: 370.4 kB / 1.159 GB, free: 22.72 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002522/0.006412, allocations: 228.8 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001887/0.0066, allocations: 194.6 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002777/0.006878, allocations: 261.4 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.932e-05/0.006957, allocations: 37.09 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.944e-05/0.007047, allocations: 62.75 kB / 1.159 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001734/0.00722, allocations: 102.7 kB / 1.16 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003196/0.00754, allocations: 391.1 kB / 1.16 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0004055/0.007945, allocations: 375.3 kB / 1.16 GB, free: 21.77 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003668/0.008312, allocations: 473.9 kB / 1.161 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.256e-05/0.008325, allocations: 15.91 kB / 1.161 GB, free: 21.52 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 6.658e-05/0.008391, allocations: 80.34 kB / 1.161 GB, free: 21.48 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003021/0.008693, allocations: 217.8 kB / 1.161 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.678e-06/0.008703, allocations: 1.219 kB / 1.161 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.5e-07/0.008704, allocations: 1.375 kB / 1.161 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.455e-05/0.008718, allocations: 15.47 kB / 1.161 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.327e-06/0.008721, allocations: 0 / 1.161 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.066e-06/0.008725, allocations: 2.125 kB / 1.161 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.983e-06/0.008732, allocations: 9.125 kB / 1.161 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.983e-05/0.008801, allocations: 36.17 kB / 1.161 GB, free: 21.38 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.233e-06/0.008809, allocations: 0.9375 kB / 1.161 GB, free: 21.38 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: .................... 2 (2) {booPul2.y, booPul1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {nand1.y, $SEV_0, $TEV_3, $TEV_2, $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: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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.015e-05/0.008839, allocations: 29.05 kB / 1.161 GB, free: 21.35 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004535/0.009292, allocations: 340.4 kB / 1.161 GB, free: 21.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.004485/0.01378, allocations: 1.873 MB / 1.163 GB, free: 20.93 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,nand1.u1,nand1.u2,nand1.y Variables in the result:booPul1.period,booPul1.shift,booPul1.t0,booPul1.t1,booPul1.width,booPul1.y,booPul2.period,booPul2.shift,booPul2.t0,booPul2.t1,booPul2.width,booPul2.y,nand1.u1,nand1.u2,nand1.y,time [Calling sys.exit(0), Time elapsed: 7.622349365963601]