Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.001426/0.001426, 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.001524/0.001524, allocations: 209.1 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.283/1.283, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.761/2.761, allocations: 0.49 GB / 0.7958 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.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.833e-05, allocations: 6.219 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001467/0.001485, allocations: 0.7583 MB / 1.156 GB, free: 24.76 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.002644, allocations: 1.253 MB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.002689, allocations: 1.031 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.002724, allocations: 11.17 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.002787, allocations: 19.62 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.003337, allocations: 253.3 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.003579, allocations: 269.9 kB / 1.158 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.003695, allocations: 45.61 kB / 1.158 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.003795, allocations: 108.2 kB / 1.158 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.003904, allocations: 103.8 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.003942, allocations: 26.22 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.004013, allocations: 34.98 kB / 1.158 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001788/0.004192, allocations: 314.2 kB / 1.158 GB, free: 23.29 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.59e-05/0.004238, allocations: 140.8 kB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.004282, allocations: 15.84 kB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.446e-05/0.004296, allocations: 10.94 kB / 1.158 GB, free: 23.19 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: 26 (26) * Number of variables: 26 (26) Notification: Performance of [SIM] Bindings: time 0.0007/0.004996, allocations: 0.8132 MB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.578e-05/0.005052, allocations: 69.64 kB / 1.159 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006748/0.005727, allocations: 0.8136 MB / 1.16 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000275/0.006002, allocations: 298 kB / 1.16 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000828/0.00683, allocations: 0.7697 MB / 1.161 GB, free: 21.51 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002284/0.007058, allocations: 289.1 kB / 1.161 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001759/0.007234, allocations: 220.1 kB / 1.161 GB, free: 21.21 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003118/0.007546, allocations: 340.2 kB / 1.162 GB, free: 20.98 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.58e-05/0.007632, allocations: 51.67 kB / 1.162 GB, free: 20.95 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001624/0.007794, allocations: 145.6 kB / 1.162 GB, free: 20.89 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002833/0.008078, allocations: 203.3 kB / 1.162 GB, free: 20.84 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004282/0.008506, allocations: 0.5457 MB / 1.163 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005354/0.009041, allocations: 0.5074 MB / 1.163 GB, free: 20.27 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006016/0.009643, allocations: 0.7502 MB / 1.164 GB, free: 19.91 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.105e-05/0.009664, allocations: 22.94 kB / 1.164 GB, free: 19.89 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001219/0.009786, allocations: 142.1 kB / 1.164 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0007841/0.01057, allocations: 0.6382 MB / 1.165 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.319e-05/0.01058, allocations: 15.5 kB / 1.165 GB, free: 19.63 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.41e-07/0.01058, allocations: 0 / 1.165 GB, free: 19.63 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.248e-06/0.01059, allocations: 1.25 kB / 1.165 GB, free: 19.63 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.286e-06/0.01059, allocations: 7 kB / 1.165 GB, free: 19.63 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.3e-06/0.0106, allocations: 0 / 1.165 GB, free: 19.63 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001177/0.01071, allocations: 96.02 kB / 1.165 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.752e-06/0.01072, allocations: 4 kB / 1.165 GB, free: 19.58 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: .................... 8 (8) {falCleTruIni.u, swiCleInp.clr, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, falCleFalIni.y, truCleTruIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$SEV_1, $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: ............ 8 (algorithm:0, when:8, 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: ........... 20 (scalar:20, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:8, 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 7.62e-05/0.0108, allocations: 36.77 kB / 1.165 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006284/0.01143, allocations: 0.517 MB / 1.165 GB, free: 19.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.005142/0.01657, allocations: 2.567 MB / 1.168 GB, free: 18.98 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.304942185990512]