Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001307/0.001307, 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.001451/0.001451, allocations: 218.4 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.393/1.393, allocations: 230.7 MB / 256.9 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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.604/2.604, allocations: 476 MB / 0.7708 GB, free: 4.66 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.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.282e-05, allocations: 3.047 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001554/0.001577, allocations: 0.6418 MB / 1.119 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.00282, allocations: 1.205 MB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.002865, allocations: 0 / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.002893, allocations: 5.344 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.002958, allocations: 13.14 kB / 1.12 GB, free: 40.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.003551, allocations: 221.6 kB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.00378, allocations: 176 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.003882, allocations: 16.75 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.253e-05/0.003965, allocations: 65.38 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.004068, allocations: 54.78 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.004099, allocations: 15.66 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.801e-05/0.004167, allocations: 28.16 kB / 1.12 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001332/0.0043, allocations: 171.7 kB / 1.12 GB, free: 40.87 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.256e-05/0.004322, allocations: 52.16 kB / 1.121 GB, free: 40.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.004357, allocations: 11.84 kB / 1.121 GB, free: 40.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.027e-05/0.004367, allocations: 3.484 kB / 1.121 GB, free: 40.84 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.0005386/0.004906, allocations: 0.5535 MB / 1.121 GB, free: 40.52 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 2.921e-05/0.004935, allocations: 30.09 kB / 1.121 GB, free: 40.49 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004565/0.005391, allocations: 0.5016 MB / 1.122 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002162/0.005608, allocations: 240.8 kB / 1.122 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004728/0.00608, allocations: 367.3 kB / 1.122 GB, free: 40.18 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001892/0.00627, allocations: 234.6 kB / 1.122 GB, free: 40.08 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001505/0.00642, allocations: 188 kB / 1.123 GB, free: 40.03 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002557/0.006676, allocations: 262.3 kB / 1.123 GB, free: 39.92 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.286e-05/0.006759, allocations: 41.34 kB / 1.123 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.361e-05/0.006842, allocations: 58.36 kB / 1.123 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001428/0.006985, allocations: 103.6 kB / 1.123 GB, free: 39.87 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002493/0.007234, allocations: 386.8 kB / 1.123 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003638/0.007598, allocations: 386.4 kB / 1.124 GB, free: 39.58 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003135/0.007912, allocations: 471.2 kB / 1.124 GB, free: 39.37 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.359e-05/0.007925, allocations: 17.5 kB / 1.124 GB, free: 39.35 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 6.325e-05/0.007989, allocations: 79.08 kB / 1.124 GB, free: 39.31 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002686/0.008257, allocations: 206.7 kB / 1.125 GB, free: 39.26 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.164e-05/0.008269, allocations: 5.469 kB / 1.125 GB, free: 39.26 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.008269, allocations: 0 / 1.125 GB, free: 39.26 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.588e-05/0.008285, allocations: 15.38 kB / 1.125 GB, free: 39.24 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.779e-06/0.00829, allocations: 0.7812 kB / 1.125 GB, free: 39.24 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.484e-06/0.008292, allocations: 1.719 kB / 1.125 GB, free: 39.24 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.563e-06/0.008299, allocations: 3.594 kB / 1.125 GB, free: 39.24 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.782e-05/0.008367, allocations: 41.97 kB / 1.125 GB, free: 39.22 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.354e-06/0.008374, allocations: 1.219 kB / 1.125 GB, free: 39.22 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 5.268e-05/0.008427, allocations: 34.16 kB / 1.125 GB, free: 39.21 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004965/0.008923, allocations: 338.1 kB / 1.125 GB, free: 39.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.004221/0.01314, allocations: 1.868 MB / 1.127 GB, free: 38.93 MB / 0.9044 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.16259334498318]