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.001526/0.001526, allocations: 104.3 kB / 19.76 MB, free: 1.898 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.001623/0.001623, allocations: 213.1 kB / 23.06 MB, free: 4.992 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.342/1.342, allocations: 230.6 MB / 256.9 MB, free: 7.777 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.913/2.913, allocations: 0.4893 GB / 0.7952 GB, free: 35.45 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.612e-05/1.612e-05, allocations: 5.234 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001691/0.001707, allocations: 0.7593 MB / 1.155 GB, free: 25.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.003237, allocations: 1.257 MB / 1.156 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.003295, allocations: 2.344 kB / 1.156 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.373e-05/0.003339, allocations: 12.3 kB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.003415, allocations: 21.19 kB / 1.156 GB, free: 24.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.004065, allocations: 255.6 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.004338, allocations: 270.1 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.004477, allocations: 40.78 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.004586, allocations: 108.1 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.00471, allocations: 93.97 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.004753, allocations: 23.91 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.822e-05/0.004841, allocations: 37.41 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002328/0.005074, allocations: 313.1 kB / 1.158 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.6e-05/0.00514, allocations: 134.2 kB / 1.158 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.005195, allocations: 15.91 kB / 1.158 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.245e-05/0.005218, allocations: 6.875 kB / 1.158 GB, free: 23.54 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.000892/0.00611, allocations: 0.8205 MB / 1.158 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.639e-05/0.006176, allocations: 66.56 kB / 1.159 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007777/0.006954, allocations: 0.8241 MB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003051/0.007259, allocations: 277.3 kB / 1.16 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001018/0.008278, allocations: 0.788 MB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.000279/0.008557, allocations: 254.5 kB / 1.161 GB, free: 21.73 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002151/0.008772, allocations: 207 kB / 1.161 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004134/0.009185, allocations: 357.1 kB / 1.161 GB, free: 21.37 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.891e-05/0.009284, allocations: 50.03 kB / 1.161 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001995/0.009484, allocations: 158 kB / 1.161 GB, free: 21.28 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003396/0.009823, allocations: 211.9 kB / 1.162 GB, free: 21.22 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005542/0.01038, allocations: 0.5613 MB / 1.162 GB, free: 20.96 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005771/0.01095, allocations: 498.5 kB / 1.163 GB, free: 20.67 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006868/0.01164, allocations: 0.7762 MB / 1.163 GB, free: 20.29 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.32e-05/0.01166, allocations: 20.81 kB / 1.163 GB, free: 20.27 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001317/0.0118, allocations: 143.6 kB / 1.164 GB, free: 20.2 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0009359/0.01273, allocations: 0.6793 MB / 1.164 GB, free: 20.02 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.658e-05/0.01275, allocations: 16.84 kB / 1.164 GB, free: 20.01 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.61e-07/0.01275, allocations: 0 / 1.164 GB, free: 20.01 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.081e-05/0.01277, allocations: 24.12 kB / 1.164 GB, free: 19.98 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.28e-06/0.01278, allocations: 1.5 kB / 1.164 GB, free: 19.98 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.288e-06/0.01278, allocations: 6.906 kB / 1.164 GB, free: 19.98 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.292e-06/0.01279, allocations: 0 / 1.164 GB, free: 19.98 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001378/0.01292, allocations: 90.97 kB / 1.164 GB, free: 19.94 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.775e-06/0.01293, allocations: 0 / 1.164 GB, free: 19.94 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: ........... 22 (scalar:22, 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 9.646e-05/0.01303, allocations: 43.77 kB / 1.164 GB, free: 19.91 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00069/0.01372, allocations: 496.7 kB / 1.165 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.004874/0.01859, allocations: 2.243 MB / 1.167 GB, free: 19.37 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/jenkins1/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] "" 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: 7.632729678007308]