Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001326/0.001326, allocations: 100.4 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.001452/0.001452, allocations: 218 kB / 23.07 MB, free: 4.98 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.394/1.394, allocations: 230.6 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.011/3.011, allocations: 0.5108 GB / 0.8167 GB, free: 17.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/2.904e-05, allocations: 6.219 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00216/0.002189, allocations: 0.7547 MB / 1.188 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.00413, allocations: 1.25 MB / 1.189 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.004207, allocations: 2.75 kB / 1.189 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.396e-05/0.004261, allocations: 9.938 kB / 1.189 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.004352, allocations: 23.38 kB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.005151, allocations: 244.2 kB / 1.189 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000415/0.005566, allocations: 272 kB / 1.19 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.005784, allocations: 40.03 kB / 1.19 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.005952, allocations: 104 kB / 1.19 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.006117, allocations: 88.56 kB / 1.19 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.006171, allocations: 24.91 kB / 1.19 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.006265, allocations: 36.56 kB / 1.19 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002532/0.006518, allocations: 308.4 kB / 1.19 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.393e-05/0.006582, allocations: 137 kB / 1.19 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.006633, allocations: 15.81 kB / 1.19 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.317e-05/0.006656, allocations: 6.188 kB / 1.19 GB, free: 11.39 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.0009619/0.007618, allocations: 0.8282 MB / 1.191 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.78e-05/0.007685, allocations: 69.75 kB / 1.191 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007703/0.008456, allocations: 0.7718 MB / 1.192 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003149/0.008771, allocations: 282.5 kB / 1.192 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0009861/0.009757, allocations: 0.7458 MB / 1.193 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002676/0.01002, allocations: 252.5 kB / 1.193 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.000237/0.01026, allocations: 207 kB / 1.193 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004054/0.01067, allocations: 363 kB / 1.194 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.866e-05/0.01077, allocations: 49.66 kB / 1.194 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001689/0.01093, allocations: 123.5 kB / 1.194 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003221/0.01126, allocations: 211.7 kB / 1.194 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004819/0.01174, allocations: 0.5132 MB / 1.195 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005955/0.01233, allocations: 498.2 kB / 1.195 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005841/0.01292, allocations: 0.6853 MB / 1.196 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.259e-05/0.01294, allocations: 16.73 kB / 1.196 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001019/0.01304, allocations: 117 kB / 1.196 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0006256/0.01367, allocations: 462.8 kB / 1.196 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.636e-05/0.01368, allocations: 16.47 kB / 1.196 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.01368, allocations: 3.938 kB / 1.196 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.011e-05/0.0137, allocations: 21.38 kB / 1.196 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.827e-06/0.01371, allocations: 3.938 kB / 1.196 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.258e-06/0.01371, allocations: 7.469 kB / 1.196 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.163e-06/0.01372, allocations: 1.875 kB / 1.196 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001535/0.01387, allocations: 115.2 kB / 1.197 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.106e-06/0.01388, allocations: 1.188 kB / 1.197 GB, free: 7.914 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) {latInp.y, cleInp.y, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, falCleFalIni.y, truCleTruIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (8) {falCleTruIni.u, swiCleInp.clr, $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: ........... 8 (scalar:8, 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: ........... 28 (scalar:28, 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 9.354e-05/0.01398, allocations: 30.91 kB / 1.197 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007005/0.01468, allocations: 488.3 kB / 1.197 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of Templates: time 0.00524/0.01992, allocations: 2.227 MB / 1.199 GB, free: 7.371 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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 Variables in the result:cleInp.period,cleInp.shift,cleInp.t0,cleInp.t1,cleInp.width,fal.k,fal.y,falCleFalIni.clr,falCleFalIni.u,falCleFalIni.y,falCleTruIni.clr,falCleTruIni.u,falCleTruIni.y,latInp.period,latInp.shift,latInp.t0,latInp.t1,latInp.width,swiCleInp.clr,swiCleInp.u,swiCleInp.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp1.y,time,tru.k,tru.y,truCleFalIni.clr,truCleFalIni.u,truCleFalIni.y,truCleTruIni.clr,truCleTruIni.u,truCleTruIni.y [Calling sys.exit(0), Time elapsed: 8.084664842986967]