Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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.001611/0.001611, 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.001944/0.001944, allocations: 213.3 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.424/1.424, allocations: 230.7 MB / 256.9 MB, free: 7.938 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.738/2.738, allocations: 476 MB / 0.7708 GB, free: 4.672 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.Toggle,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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.7e-05, allocations: 4.172 kB / 1.118 GB, free: 41.21 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001768/0.001795, allocations: 0.7381 MB / 1.119 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.003415, allocations: 1.36 MB / 1.12 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.003496, allocations: 2.531 kB / 1.12 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.003538, allocations: 15.31 kB / 1.12 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.959e-05/0.003618, allocations: 15.84 kB / 1.12 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.004349, allocations: 323.4 kB / 1.12 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.004631, allocations: 373.7 kB / 1.121 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.004759, allocations: 39.23 kB / 1.121 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.004904, allocations: 165.1 kB / 1.121 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.005042, allocations: 118.8 kB / 1.121 GB, free: 41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.005101, allocations: 39.06 kB / 1.121 GB, free: 41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.005192, allocations: 48.39 kB / 1.121 GB, free: 41 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002448/0.005437, allocations: 420.4 kB / 1.121 GB, free: 40.89 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.977e-05/0.005486, allocations: 133.2 kB / 1.122 GB, free: 40.81 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.00554, allocations: 22.34 kB / 1.122 GB, free: 40.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.841e-05/0.005558, allocations: 6.812 kB / 1.122 GB, free: 40.8 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.0008404/0.006399, allocations: 1.083 MB / 1.123 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.775e-05/0.006497, allocations: 126 kB / 1.123 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0008579/0.007354, allocations: 1.252 MB / 1.124 GB, free: 39.84 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002934/0.007648, allocations: 310 kB / 1.124 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001113/0.008761, allocations: 1.044 MB / 1.125 GB, free: 39.18 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.000288/0.009049, allocations: 301.5 kB / 1.126 GB, free: 39.05 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.000214/0.009263, allocations: 272.9 kB / 1.126 GB, free: 38.91 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004834/0.009746, allocations: 0.5255 MB / 1.126 GB, free: 38.61 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003753/0.01012, allocations: 294.2 kB / 1.127 GB, free: 38.54 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003616/0.01048, allocations: 425.4 kB / 1.127 GB, free: 38.38 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0007346/0.01122, allocations: 0.6426 MB / 1.128 GB, free: 38.24 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008184/0.01204, allocations: 1.285 MB / 1.129 GB, free: 37.62 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006796/0.01272, allocations: 0.6093 MB / 1.13 GB, free: 37.29 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001018/0.01373, allocations: 1.631 MB / 1.131 GB, free: 36.45 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.749e-05/0.01377, allocations: 36.7 kB / 1.131 GB, free: 36.43 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001759/0.01395, allocations: 278.3 kB / 1.131 GB, free: 36.29 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001092/0.01504, allocations: 1.097 MB / 1.133 GB, free: 36.05 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.832e-05/0.01506, allocations: 35.34 kB / 1.133 GB, free: 36.03 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.01506, allocations: 0 / 1.133 GB, free: 36.03 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.711e-05/0.01509, allocations: 28.97 kB / 1.133 GB, free: 36 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.639e-06/0.01509, allocations: 0 / 1.133 GB, free: 36 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 8.606e-06/0.0151, allocations: 25.75 kB / 1.133 GB, free: 35.98 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.484e-06/0.01511, allocations: 0 / 1.133 GB, free: 35.98 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0003345/0.01544, allocations: 339.7 kB / 1.133 GB, free: 35.85 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.637e-06/0.01545, allocations: 6.844 kB / 1.133 GB, free: 35.84 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) {togInp.y, cleInp.y, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, truCleTruIni.y, falCleFalIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 36 (36) {falCleTruIni.u, falCleTruIni.clr, falCleFalIni.u, falCleFalIni.clr, truCleTruIni.u, truCleTruIni.clr, truCleFalIni.u, truCleFalIni.clr, swiCleInp.u, swiCleInp.clr, swiCleInp1.u, swiCleInp1.clr, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $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: ........... 36 (scalar:36, 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: ........... 58 (scalar:58, 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 0.0001181/0.01557, allocations: 40.56 kB / 1.133 GB, free: 35.82 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008319/0.0164, allocations: 0.7129 MB / 1.134 GB, free: 35.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.00595/0.02235, allocations: 4.005 MB / 1.138 GB, free: 35.19 MB / 0.9044 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Toggle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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,swiCleInp.clr,swiCleInp.u,swiCleInp.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp1.y,time,togInp.period,togInp.shift,togInp.t0,togInp.t1,togInp.width,tru.k,tru.y,truCleFalIni.clr,truCleFalIni.u,truCleFalIni.y,truCleTruIni.clr,truCleTruIni.u,truCleTruIni.y [Calling sys.exit(0), Time elapsed: 8.42337116599083]